Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re^2: How to log from multiple threads into one logfile?

by freddo411 (Chaplain)
on Jul 13, 2010 at 22:19 UTC ( [id://849388]=note: print w/replies, xml ) Need Help??


in reply to Re: How to log from multiple threads into one logfile?
in thread How to log from multiple threads into one logfile?

Turns out that log4perl has a FAQ on this.

I added this:

log4perl.appender.Logfile.syswrite = 1
to my config. Seems allow thread safe logging for me.

-------------------------------------
Nothing is too wonderful to be true
-- Michael Faraday

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (6)
As of 2024-04-23 11:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found