Skip Menu |

This queue is for tickets about the Log-Log4perl CPAN distribution.

Report information
The Basics
Id: 81226
Status: resolved
Priority: 0/
Queue: Log-Log4perl

People
Owner: Nobody in particular
Requestors: TIMB [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Make "Internal error: Root Logger not initialized. more helpful
I came across an "Internal error: Root Logger not initialized. ... during global destruction" recently. While I understand the issue and the fix, what was annoying in this case was that the exception from Log4perl effectively hid the original exception that as trying to be logged. This change - die "Internal error: Root Logger not initialized."; + Carp::confess "Internal error: Root Logger not initialized." meant I could see what the original exception message was in the stack trace.
Applied: https://github.com/mschilli/log4perl/commit/e5d21639c25e457208c66b6b6f94 6b273efa7365 Thanks for your contribution! -- Mike