in reply to Log4perl stops logging after update to 1.24

After checking grep -C2 add_appende Log-Log4perl-1.24 I see you are missing $logger->level($DEBUG);, and adding
$log->level($Log::Log4perl::DEBUG);
to your example produces output. I'm not sure if this is a bug or feature.

Replies are listed 'Best First'.
Re^2: Log4perl stops logging after update to 1.24
by kreetrapper (Scribe) on Sep 14, 2009 at 06:52 UTC

    Ah, thank you so much!

    It's probably a feature that you have to set the log level explicitly. But I still do not understand why this change didn't make it into the release notes.

      Maybe you were using Log::Log4perl->easy_init() before? easy_init sets level to $DEBUG by default.

        No, that's the weird thing and it's why it took me so long to even pinpoint the problem. I didn't change my code at all, but after the Log4perl module got updated (by system management, I might add, so I wasn't even aware of that at first) my program suddenly didn't log anymore.

        btw: I'm sorry that it always takes me so long to answer here. I was afk a lot recently.