ASNMTAP

 view release on metacpan or  search on metacpan

applications/log4perl.cnf  view on Meta::CPAN

log4perl.appender.LOGFILE.mode      = append
log4perl.appender.LOGFILE.Threshold = FATAL
log4perl.appender.LOGFILE.layout    = PatternLayout
log4perl.appender.LOGFILE.layout.ConversionPattern = [%d] %H | %p | %P | %C | %c | %l - %m%n  %T%n

# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

log4perl.appender.LOGARCHIVE           = Log::Log4perl::Appender::File
log4perl.appender.LOGARCHIVE.filename  = /opt/monitoring/asnmtap/log/archive.log
log4perl.appender.LOGARCHIVE.mode      = append
log4perl.appender.LOGARCHIVE.Threshold = OFF
log4perl.appender.LOGARCHIVE.layout    = PatternLayout
log4perl.appender.LOGARCHIVE.layout.ConversionPattern = [%d] %H | %p | %P | %C | %c | %l - %m%n

# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

log4perl.appender.LOGCOLLECTOR           = Log::Log4perl::Appender::File
log4perl.appender.LOGCOLLECTOR.filename  = /opt/monitoring/asnmtap/log/collector.log
log4perl.appender.LOGCOLLECTOR.mode      = append
log4perl.appender.LOGCOLLECTOR.Threshold = ERROR
log4perl.appender.LOGCOLLECTOR.layout    = PatternLayout
log4perl.appender.LOGCOLLECTOR.layout.ConversionPattern = [%d] %H | %p | %P | %C | %c | %l - %m%n

log4perl.appender.LOGCOLLECTORTEST           = Log::Log4perl::Appender::File
log4perl.appender.LOGCOLLECTORTEST.filename  = /opt/monitoring/asnmtap/log/collector-CollectorCT-test.log
log4perl.appender.LOGCOLLECTORTEST.mode      = append
log4perl.appender.LOGCOLLECTORTEST.Threshold = OFF
log4perl.appender.LOGCOLLECTORTEST.layout    = PatternLayout
log4perl.appender.LOGCOLLECTORTEST.layout.ConversionPattern = [%d] %H | %p | %P | %C | %c | %l - %m%n

# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

log4perl.appender.LOGIMPORTDATA           = Log::Log4perl::Appender::File
log4perl.appender.LOGIMPORTDATA.filename  = /opt/monitoring/asnmtap/log/import-data-through-catalog.log
log4perl.appender.LOGIMPORTDATA.mode      = append
log4perl.appender.LOGIMPORTDATA.Threshold = OFF
log4perl.appender.LOGIMPORTDATA.layout    = PatternLayout
log4perl.appender.LOGIMPORTDATA.layout.ConversionPattern = [%d] %H | %p | %P | %C | %c | %l - %m%n

# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

log4perl.appender.LOGGENERATEREPORTS           = Log::Log4perl::Appender::File
log4perl.appender.LOGGENERATEREPORTS.filename  = /opt/monitoring/asnmtap/log/generate-reports.log
log4perl.appender.LOGGENERATEREPORTS.mode      = append
log4perl.appender.LOGGENERATEREPORTS.Threshold = OFF
log4perl.appender.LOGGENERATEREPORTS.layout    = PatternLayout
log4perl.appender.LOGGENERATEREPORTS.layout.ConversionPattern = [%d] %H | %p | %P | %C | %c | %l - %m%n

# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

log4perl.appender.LOGHOLIDAYBUNDLE           = Log::Log4perl::Appender::File
log4perl.appender.LOGHOLIDAYBUNDLE.filename  = /opt/monitoring/asnmtap/log/holiday-bundle-set-downtimes.log
log4perl.appender.LOGHOLIDAYBUNDLE.mode      = append
log4perl.appender.LOGHOLIDAYBUNDLE.Threshold = OFF
log4perl.appender.LOGHOLIDAYBUNDLE.layout    = PatternLayout
log4perl.appender.LOGHOLIDAYBUNDLE.layout.ConversionPattern = [%d] %H | %p | %P | %C | %c | %l - %m%n

# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

log4perl.appender.LOGSCREEN        = Log::Log4perl::Appender::Screen
log4perl.appender.LOGSCREEN.stderr = 0
log4perl.appender.LOGSCREEN.layout = PatternLayout
log4perl.appender.LOGSCREEN.layout.ConversionPattern = [%d] %H | %p | %P | %C | %c | %l - %m%n

# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

# Define DBIx::Log4perl to output DEBUG and above msgs to /opt/asnmtap/log/MySQL.log using the simple layout
log4perl.logger.DBIx.Log4perl     = DEBUG, MySQL
log4perl.appender.MySQL           = Log::Log4perl::Appender::File
log4perl.appender.MySQL.filename  = /opt/monitoring/asnmtap/log/MySQL.log
log4perl.appender.MySQL.mode      = append
log4perl.appender.MySQL.Threshold = OFF
log4perl.appender.MySQL.layout    = PatternLayout
log4perl.appender.MySQL.layout.ConversionPattern = [%d] %H | %p | %P | %C | %c | %l - %m%n

# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# If you don't define any appenders, nothing will happen. Appenders will be 
# triggered whenever the configured logging level requires a message to be 
# logged and not suppressed. To log to the screen, to files and to databases:
#   Log::Log4perl::Appender::Screen
#   Log::Log4perl::Appender::ScreenColoredLevels
#   Log::Log4perl::Appender::File
#   Log::Log4perl::Appender::Socket
#   Log::Log4perl::Appender::DBI
#   Log::Log4perl::Appender::Synchronized
#   Log::Log4perl::Appender::RRDs
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Additional Appenders via Log::Dispatch. Here's the list of appender modules:
#   Log::Dispatch::ApacheLog
#   Log::Dispatch::DBI (by Tatsuhiko Miyagawa)
#   Log::Dispatch::Email,
#   Log::Dispatch::Email::MailSend,
#   Log::Dispatch::Email::MailSendmail,
#   Log::Dispatch::Email::MIMELite
#   Log::Dispatch::File
#   Log::Dispatch::FileRotate (by Mark Pfeiffer)
#   Log::Dispatch::Handle
#   Log::Dispatch::Screen
#   Log::Dispatch::Syslog
#   Log::Dispatch::Tk (by Dominique Dumont)
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# log4perl.appender.<category>.layout.ConversionPattern
#   %c Category of the logging event.
#   %C Fully qualified package (or class) name of the caller
#   %d Current date in yyyy/MM/dd hh:mm:ss format
#   %F File where the logging event occurred
#   %H Hostname (if Sys::Hostname is available)
#   %l Fully qualified name of the calling method followed by the callers source 
#      the file name and line number between parentheses.
#   %L Line number within the file where the log statement was issued
#   %m The message to be logged
#   %m{chomp} The message to be logged, stripped off a trailing newline
#   %M Method or function where the logging request was issued
#   %n Newline (OS-independent)
#   %p Priority of the logging event
#   %P pid of the current process
#   %r Number of milliseconds elapsed from program start to logging event
#   %R Number of milliseconds elapsed from last logging event to current logging 
#      event 
#   %T A stack trace of functions called
#   %x The topmost NDC (see below)



( run in 0.450 second using v1.01-cache-2.11-cpan-99c4e6809bf )