Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister

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

Comment on Re: Multiprocess logging mechanism
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?

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

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (4)
As of 2015-11-27 07:52 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (720 votes), past polls