in reply to Re: help with Log::Log4perl config file
in thread help with Log::Log4perl config file
Why are we trying to do this? When debugging, we set $logger->level($DEBUG); in a script, or in a module, or both, as needed. This produces lots of output. Once things are working, we raise the level to $INFO. We log major program events at the info level ("Now initializing...", "Now working...", "Now complete."). We log fatal errors, and program startups, in the error log. (Think the apache log, which captures major events like errors and restarts). To see if all is well, scan the error log. To get details on a script, scan the script-specific info log. To debug, turn on the debugging level and stare and the debug log. (The debug log is common because the bug tracking might cross several modules.)
So, trying to do this and not understanding the docs:
how may a suite of programs and mods share a common debug log, each program have their own info log, and all share a common error log?
Thanks
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: help with Log::Log4perl config file
by holo (Monk) on May 30, 2004 at 17:44 UTC | |
by saintmike (Vicar) on May 30, 2004 at 22:28 UTC |