Ctrl K
ComunidadGuías…

log4perl.conf

Rama master · réplica de lectura del repositorio original.

Archivo original ↗Preguntar a KiBot
# Please do not modify this file. Instead, copy it to
# log4perl.local.conf and the application will use that one.

log4perl.logger=INFO, Log
# use this instead if you want mail, and uncomment the block above
# log4perl.logger=INFO, Log, Mail

# another example
#log4perl.logger=WARN,Log,Screen
# log4perl.appender.Screen=Log::Dispatch::Screen
# log4perl.appender.Screen.layout=Log::Log4perl::Layout::PatternLayout
# log4perl.appender.Screen.layout.ConversionPattern=%d %p - %c - %F{1}:%L - %m%n

log4perl.appender.Log=Log::Dispatch::FileRotate
log4perl.appender.Log.filename=log/amw.log
log4perl.appender.Log.mode=append
log4perl.appender.Log.size=1048576
log4perl.appender.Log.max=10
log4perl.appender.Log.layout=Log::Log4perl::Layout::PatternLayout
log4perl.appender.Log.layout.ConversionPattern=%d %p - %c - %F:%L - %m%n

## by default, application errors are sent to root@localhost

# log4perl.appender.Mail=Log::Dispatch::Email::MailSend
# log4perl.appender.Mail.Threshold=ERROR
# log4perl.appender.Mail.from=amusewiki@localhost
# log4perl.appender.Mail.to=root@amusewiki.org
# log4perl.appender.Mail.subject="[AmuseWiki errors: localhost]"
# log4perl.appender.Mail.buffered=0
# log4perl.appender.Mail.layout=Log::Log4perl::Layout::PatternLayout
# log4perl.appender.Mail.layout.ConversionPattern=%d %p - %c - %F:%L - %m%n