Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: log4Perl dynamic filename

by stefbv (Deacon)
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.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1033824]
help
Chatterbox?
[Lady_Aleena]: Well, right now, I"m looking at modules where I put randomness that aren't in my RolePlaying/Random dir, like RolePlaying:: Character:: Alignment that is mostly about random_alignment than expand_alignment.
[erix]: cute
[Lady_Aleena]: So, I'm thinking about splitting it between the two different things.

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (6)
As of 2017-05-27 20:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?