Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: log4Perl dynamic filename

by stefbv (Curate)
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
Domain Nodelet?
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 wandering the Monastery: (3)
As of 2021-10-22 22:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My first memorable Perl project was:







    Results (86 votes). Check out past polls.

    Notices?