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