debian man page for jifty::manual::logging

Query: jifty::manual::logging

OS: debian

Section: 3pm

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

Jifty::Manual::Logging(3pm)				User Contributed Perl Documentation			       Jifty::Manual::Logging(3pm)

NAME
Jifty::Manual::Logging - Using and controlling Jifty's logging system Intro Jifty uses the Log4perl module for logging messages, so you can define your own log4perl config for logging. You can define different behaviour for different log levels. For example, you can send mail to administrator when error occurred, or add color to warning messages that are logged to the terminal. Config from config.yml Various log level config can be set from etc/config.yml or etc/site_config.yml. Example # vim:filetype=conf:et: log4perl.rootLogger = INFO , Screen log4perl.logger.MyApp.MailNotifier = WARN, Mailer log4perl.appender.LOG1 = Log::Log4perl::Appender::File log4perl.appender.LOG1.filename = apache_fastcgi/logs/ log4perl.appender.LOG1.mode = append log4perl.appender.LOG1.layout = Log::Log4perl::Layout::PatternLayout log4perl.appender.LOG1.layout.ConversionPattern = %d %p %m %n log4perl.appender.Mailer = Log::Dispatch::Email::MailSend log4perl.appender.Mailer.to = admin@blah.com log4perl.appender.Mailer.subject = !!ERROR!! log4perl.appender.Mailer.layout = SimpleLayout log4perl.filter.Filter1 = sub { /Plugin/ } log4perl.filter.FilterRule = Log::Log4perl::Filter::Boolean log4perl.filter.FilterRule.logic = Filter1 log4perl.appender.LOG1.Filter = FilterRule log4perl.appender.ScreenColor = Log::Log4perl::Appender::ScreenColoredLevels log4perl.appender.ScreenColor.layout = SimpleLayout log4perl.appender.Screen = Log::Log4perl::Appender::Screen log4perl.appender.Screen.layout = SimpleLayout perl v5.14.2 2010-12-08 Jifty::Manual::Logging(3pm)
Related Man Pages
log::log4perl::appender::limit(3) - suse
log::log4perl::appender::buffer(3pm) - debian
log::log4perl::appender::limit(3pm) - debian
log::log4perl::appender::synchronized(3pm) - debian
log::log4perl::filter::boolean(3pm) - debian
Similar Topics in the Unix Linux Community
Logging command invocations - cmdlog
Nagios Appender 1.2.2 (Default branch)
Constant Logging In (After Logging Out)
Requesting help to replace a string by my bash script
Copy(append ) the contents of file1 and file2 to file3