http://www.perlmonks.org?node_id=884216

rootcho has asked for the wisdom of the Perl Monks concerning the following question:

hi guys
Do you know a way to modify attributes of appenders, layouts etc.. on the fly
without putting perl code inside the config i.e. something like this
Log::Log4perl->init(\$conf); my $appenders = $log->appenders; $appenders->{blah}->filename('/path/to/new_file.log');
the only examples of dynamic values I see are using perl code inside the configuration which call-backs some code inside your app.
I don't want to create the appenders on the fly, I want to modify already configured appender in the config

thanx