in reply to How to rotate and compress log files
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
|
|---|