Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re^3: combine logentries with Log::log4perl

by shadowsong (Monk)
on Sep 03, 2015 at 14:16 UTC ( #1140882=note: print w/replies, xml ) Need Help??


in reply to Re^2: combine logentries with Log::log4perl
in thread combine logentries with Log::log4perl

Change this line

log4perl.rootLogger = DEBUG, Log1

To this:

log4perl.rootLogger = DEBUG, Buffer

And... you can remove this line if you'd like the TRACE category to show up on STDOUT

log4perl.category = DEBUG, Buffer

Let us know if that matches your expectations? Although deep down I think you'll find you may have to write a custom composite function if you'd like to get a deeper level of customization..

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (7)
As of 2019-05-22 22:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you enjoy 3D movies?



    Results (140 votes). Check out past polls.

    Notices?
    • (Sep 10, 2018 at 22:53 UTC) Welcome new users!