splinky has asked for the wisdom of the Perl Monks concerning the following question:
My system is comprised of multiple Perl processes under Linux. If it came down to it, I could have each process log to its own file and then merge them together after the fact, but I would really like for all these processes to log to the same file, with all the logs interleaved and ordered by time.
I've tried a few simple experiments with Log::Log4perl using Log::Log4perl::Appender::File, and while it appears to work, I haven't seen anything in the documentation to assure me that it's meant to work.
Is there a simple solution?
Thanks.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Multiple processes, one log file?
by davidrw (Prior) on May 19, 2005 at 19:20 UTC | |
Re: Multiple processes, one log file?
by sgifford (Prior) on May 20, 2005 at 01:30 UTC | |
by cosimo (Hermit) on May 20, 2005 at 15:19 UTC | |
Re: Multiple processes, one log file?
by astroboy (Chaplain) on May 20, 2005 at 02:27 UTC | |
Re: Multiple processes, one log file?
by Vautrin (Hermit) on May 19, 2005 at 19:42 UTC | |
by sgifford (Prior) on May 20, 2005 at 01:31 UTC | |
by Vautrin (Hermit) on May 20, 2005 at 02:01 UTC |