in reply to Re^2: log4perl run from within another package not firing messages sent through email
in thread log4perl run from within another package not firing messages sent through email

Have you tried examining your Appender object with Data::Dumper or similar to see what the value of the buffered attribute is when you create it from within your main script? At least if you knew whether it was being similarly set to '0' you could narrow your search to 'why?' ...

The way forward always starts with a minimal test.
  • Comment on Re^3: log4perl run from within another package not firing messages sent through email
  • Download Code