Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

How to rotate Log4Perl logs?

by palette (Scribe)
on Feb 13, 2007 at 12:14 UTC ( [id://599677]=perlquestion: print w/replies, xml ) Need Help??

palette has asked for the wisdom of the Perl Monks concerning the following question:

This node falls below the community's threshold of quality. You may see it by logging in.

Replies are listed 'Best First'.
Re: How to rotate Log4Perl logs?
by davorg (Chancellor) on Feb 13, 2007 at 12:29 UTC
      log4perl.logger.ABC = DEBUG, ABC log4perl.appender.ABC = Log::Dispatch::FileRo +tate log4perl.appender.ABC.filename = /tmp/abc.log log4perl.appender.ABC.max = 15 log4perl.appender.ABC.DatePattern = yyyy-MM-dd log4perl.appender.ABC.mode = append log4perl.appender.ABC.TZ = BST log4perl.appender.ABC.layout = Log::Log4perl::Layout +::PatternLayout log4perl.appender.ABC.layout.ConversionPattern = [%d] %c - %m%n
      A reply falls below the community's threshold of quality. You may see it by logging in.

Log In?
Username:
Password:

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

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

    No recent polls found