The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

Changes for version 0.28

  • (ms) '#' in the conf file are now interpreted as comment starters only if they're at the start of a line with optional whitespace. The previous setting (comments starting anywhere) had problems with code containing '#''s, like in layout.cref = sub { $#_ = 1 }
  • (ms) warp_message accepts code refs or function names
  • (kg) Split config bits into PropertyConfigurator and implemented DOMConfigurator for XML configs.
  • (kg) Adding appender.warp_message parameter as a help to DBI appender
  • (kg) Added NoopLayout to help DBI appender
  • (ms) Added message output filters: log({filter => \&filter, value => $value})
  • (kg) t/024WarnDieCarp was assuming / as directory separator, failed on Win32
  • (kg) implemented JavaMaps for NTEventLogAppender, SyslogAppender
  • (kg) found and addressed circular ref problem in Logger->reset
  • (kg) moved TestBuffer under Appender/ directory along with DBI
  • (kg) fixed docs, Pattern layout, %f not supported, s/b %F
  • (kg) added Log::Log4perl::Appender::DBI to implement JDBCAppender
  • (ms) Every value in the config file can now be a perl function, dynamically replaced by its return value at configuration parse time
  • (ms) NDC now prints entire stack, not just top element (as mandated by Log4j)
  • (ms) Allow trailing spaces after a line-breaking '\' in the config file to be fault-tolerant on cut-and-pasted code

Modules

Log4j implementation for Perl
Log appender class
implements appending to a DB
Subclass of Appender::TestBuffer
Appender class for testing
Log4perl configuration file syntax
Log4perl advanced date formatter helper class
Frequently Asked Questions on Log::Log4perl
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
Predefined log levels
Main Logger Class
Mapped Diagnostic Context
Nested Diagnostic Context