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

Re: log4Perl dynamic filename

by stefbv (Chaplain)
on May 16, 2013 at 12:46 UTC ( #1033824=note: print w/ replies, xml ) Need Help??


in reply to log4Perl dynamic filename

Use a sub reference function to return the file name, like this:

log4perl.appender.Logfile.filename = sub { get_log_filename(); }

Regards, Stefan

Updated.


Comment on Re: log4Perl dynamic filename
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (9)
As of 2014-09-30 15:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (375 votes), past polls