Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
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?
Discipulus needs to virtualize a xp home machine..
[Discipulus]: someone has experience with this? as destiation i think i'll go with virtualbox on centos
[Lady_Aleena]: Why XP?
[Discipulus]: it is for my father: it is impossible to tell him to learn a newer OS
[Lady_Aleena]: To tell him or teach him?
Discipulus anyway xp is still the best lowend game machine

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (5)
As of 2017-05-22 18:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?