Log::Log4perl::JavaMap - maps java log4j appenders to Log::Dispatch classes
If somebody wants to create an appender called org.apache.log4j.ConsoleAppender, we want to translate it to Log::Dispatch::Screen, and then translate the log4j options into Log::Dispatch parameters..
org.apache.log4j.ConsoleAppender
Here's the list of appenders I see on the current (6/2002) log4j site.
These are implemented
ConsoleAppender - Log::Dispatch::Screen FileAppender - Log::Dispatch::File
These should/will/might be implemented
RollingFileAppender - DailyRollingFileAppender - SMTPAppender - Log::Dispatch::Email::MailSender SyslogAppender - Log::Dispatch::Syslog
These might be implemented but they don't have corresponding classes in Log::Dispatch (yet):
NullAppender NTEventLogAppender SocketAppender TelnetAppender
These might be simulated
LF5Appender - use Tk? JDBCAppender - using DBI? ExternallyRolledFileAppender - catch a HUP instead?
These will probably not be implemented
AsyncAppender JMSAppender SocketHubAppender
Kevin Goess, <cpan@goess.org> Mike Schilli, <m@perlmeister.com> June, 2002
http://jakarta.apache.org/log4j/docs/
To install Log::Log4perl, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Log::Log4perl
CPAN shell
perl -MCPAN -e shell install Log::Log4perl
For more information on module installation, please visit the detailed CPAN module installation guide.