Changes for version 0.49
- (ms) init_and_watch() no longer die()s on reloading syntactically wrong configuration files but issues a warning and then reloads the last working config.
- (ms) init() now also accepts an open file handle (passed in as a glob) to a configuration file or a ref to an IO::File object.
- (ms) Jos I. Boumans <kane@xs4all.net> and Chris Winters <chris@cwinters.com> reported an error thrown by L4p in their app SPOPS: During global construction. Looks like the Logger object's internal hash is cleared and then the is_<level> method gets called, resulting in a runtime exception. Added proposed remedy checking if the called method is defined by ref.
- (ms) Added check to init_and_watch if obtaining the mod timestamp failed.
Modules
Log4j implementation for Perl
Log appender class
implements appending to a DB
Log to file
Limit message delivery via block period
Log to a RRDtool Archive
Log to STDOUT/STDERR
Log to a socket
Synchronizing other appenders
Subclass of Appender::TestBuffer
Appender class for testing
Intentionally slow test appender
Log4perl configuration file syntax
Configurator Base Class
reads xml config files
reads properties file
Detect file changes
Log4perl advanced date formatter helper class
Frequently Asked Questions on Log::Log4perl
Log4perl Custom Filter Base Class
Special filter to combine the results of others
Filter to match the log level exactly
Filter for a range of log levels
Filter to match the log level exactly
maps java log4j appenders to Log::Dispatch classes
wraps Log::Dispatch::Screen
wraps Log::Dispatch::File
wraps Log::Log4perl::Appender::DBI
wraps Log::Dispatch::Win32EventLog
wraps Log::Dispatch::FileRotate
wraps Log::Dispatch::Syslog
wraps Log::Log4perl::Appender::TestBuffer
Log4perl Layout Virtual Base Class
Pass-thru Layout
Pattern Layout
Simple Layout
Predefined log levels
Main Logger Class
Mapped Diagnostic Context
Nested Diagnostic Context
Internal utility functions