For example, if you created logfiles named yourapp.yyyy-mm-dd-hh-mm-ss.pid, you could look at all the logs from 2005 with something like cat yourapp.2005-*.
You could do this with a small wrapper program to manage the logfiles and run your program with STDERR connected to a pipe the wrapper program reads; that would require no changes to your current code.
In reply to Re: logging and cron jobs
by sgifford
in thread logging and cron jobs
by InfiniteLoop
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |