Hmmm, may be you want to have a look at multilog? Pipe your logging data into a properly configured multilog and let multilog handle writing log files and time stamps. Combine with the remainder of daemontools to create daemons with reliable logging.
Alexander
In reply to Re: How to rotate and compress log files
by afoken
in thread How to rotate and compress log files
by andreas1234567
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |