in reply to Using STDERR and timestamps to write to a log file

just a consideration: take care with the amount of log the application is going to generate.
In the past we had some applications that were generating logs and after a while
because the applications were in a factory with hundreds of users we ran out of space in the unix server.
So, don't forget to create something to check a max filesize or something like this. See ya;
  • Comment on Re: Using STDERR and timestamps to write to a log file

Replies are listed 'Best First'.
Re^2: Using STDERR and timestamps to write to a log file
by wazoox (Prior) on Apr 28, 2005 at 09:35 UTC
    You may also use an external tool like "logrotate" to take care of the logfile.