Joachim,

> Great piece of work, your Log::Log4perl module. Especially in mixed
> Java/Perl environments, it makes log management a breeze. :-)

Thanks!

> I'd like to use a
> function or method from Log::Log4perl to explicitly reload the
> log4perl config file. How do I do that? Do I call init() again?

Yeah, go ahead and call Log::Log4Perl->init all day.  You'll get the
same functionality that init_and_watch does when it reloads a changed
config.

> can I continue to use previously attained logger objects or do I
> need to call get_logger() anew?

Yes, all your $logger objects are still good (assuming you haven't
un-supported them in your new config).  The existing singleton objects
stay the same, but the coderefs they contain have been updated with the
new behavior.




-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
log4perl-devel mailing list
log4perl-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/log4perl-devel

Reply via email to