ginju75 has asked for the wisdom of the Perl Monks concerning the following question:
Hello Wise Monks,
I am trying to see how I can create seperate Log files for 1. the output of a perl script and 2. the Error's and warning's in the script.
Presently I am redirecting my STDOUT and STDERR to write to files. It seems to work fine. I read somewhere the use of $main::logfile.
I could not quiet get it. Any thoughts of how to create say scriptnameOUT.log and scriptnameERR.log, other than redirecting it to specific files as I do?
Thank you,
-A learning monk!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Log Files
by Zaxo (Archbishop) on Jan 02, 2002 at 06:24 UTC | |
|
(shockme) Re: Log Files
by shockme (Chaplain) on Jan 02, 2002 at 06:17 UTC | |
|
Re: Log Files
by lemming (Priest) on Jan 02, 2002 at 06:23 UTC | |
|
Re: Log Files
by talexb (Chancellor) on Jan 02, 2002 at 09:18 UTC |