Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

How to rotate Log4Perl logs?

by palette (Scribe)
on Feb 13, 2007 at 12:14 UTC ( #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? | Other CB clients
Other Users?
Others musing on the Monastery: (3)
As of 2023-06-10 07:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How often do you go to conferences?






    Results (37 votes). Check out past polls.

    Notices?