hi, I'm administering a server running apache/mod_perl. it runs a lot of old web applications who write to STDERR (print STDERR "log message...";). as they are a large number for me is a problem to find where the code is located, but I see a lot of lines of debugging in my apache error log. first of all I redirect all the debug messages to a new file putting the following line of code in global.asa Script_OnStart: open (STDERR, ">>/path/to/debug/log/file"); what I'm not able to do is to automatically prepend the date to every entry in the debug log file (obviously without finding every print in the code....). any idea? maybe some parameters to pass to open?
thanks, ivan -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/