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

I'm writing a daemon that will handle reconfig on SIG_HUP. I want to use Log::Log4perl for logging. My problem is, there seems to be no public method for reinitializing Log4perl.

The module provides it's own method for re-init on signal or a changed file in init_and_watch(...), but seemingly no way to re-init from the calling program. SIG_HUP handlers would clobber each other, and the watch-file method incurs high overhead.

Have I missed the "public" way to reinitialize Log4perl, or is this a (missing?) feature?

*sigh* The init method works perfectly for this. Stupid user error.

--Solo

--
You said you wanted to be around when I made a mistake; well, this could be it, sweetheart.