Re: [log4perl-devel] [FR] CODE refs in config file.

2010-01-27 Thread Mike Schilli
On Wed, 27 Jan 2010, "Silkenbäumer, Karsten" wrote: I found out I can use CODE refs in my config file. log4perl.appender.testnameAppender.filename=sub { return 'example.log' } This function doesn't get any arguments right now (warn @_) Would be great to access the name of the logger (and maybe a

[log4perl-devel] [FR] CODE refs in config file.

2010-01-27 Thread Silkenbäumer, Karsten
Hi, I'm using Log4perl more and more extensively. It's great. However, I'm missing some features - maybe they are implemented right now and I don't see them. I found out I can use CODE refs in my config file. log4perl.appender.testnameAppender.filename=sub { return 'example.log' } This function