Beefy Boxes and Bandwidth Generously Provided by pair Networks Russ
laziness, impatience, and hubris
 
PerlMonks  

Re: Multiprocess logging mechanism

by clemburg (Curate)
on Feb 26, 2002 at 12:34 UTC ( #147539=note: print w/ replies, xml ) Need Help??


in reply to Multiprocess logging mechanism

If logging to a *file* is not a requirement, but just an option, you might just as well log to a database. With a decent database system, a lot of problems customarily associated with handling logs just disappear. Still another option might be to use Sys::Syslog or Unix::Syslog.

Christian Lemburg
Brainbench MVP for Perl
http://www.brainbench.com


Comment on Re: Multiprocess logging mechanism
Re: Re: Multiprocess logging mechanism
by belg4mit (Prior) on Mar 05, 2002 at 03:02 UTC
    Along the same lines is to cheat and simply dump to STDOUT or STDERR and do a redirect from the invoking shell. There shouldn't be any issues with serialization.

    --
    perl -pe "s/\b;([st])/'\1/mg"

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://147539]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (8)
As of 2014-04-18 23:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (473 votes), past polls