From: Seth D. <log...@se...> - 2009-05-09 00:02:45
|
Hello, What I would like to do is prevent Log4perl from setting %SIG and I would like to be the one to tell Log4perl when to reload the configuration. I do not want to use time-based delays if at all possible. So I want my code to do the signal handling and then notify Log4perl to check its configuration. The reason for this is that I have a number of existing programs that use Log4perl for most logging, but some very specific logging does not use Log4perl. I need to be able to use a single signal to tell both Log4perl and the other log code to check its configuration and/or rewrite the log file for log rotation. Is this possible? Looking at the code in Config/Watch.pm, Config.pm, and Logger.pm it looks difficult. Maybe there is a better way? Thank you. -- seth /\ sethdaniel.org |