Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
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

Replies are listed 'Best First'.
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 fog begins to lift...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (6)
As of 2017-10-23 12:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My fridge is mostly full of:

















    Results (279 votes). Check out past polls.

    Notices?