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 ( [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 chilling in the Monastery: (4)
As of 2024-09-19 18:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    The PerlMonks site front end has:





    Results (25 votes). Check out past polls.

    Notices?
    erzuuli‥ 🛈The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.