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.
In Section
Seekers of Perl Wisdom
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.