forked from melmothx/amusewiki
-
Notifications
You must be signed in to change notification settings - Fork 0
/
log4perl.conf
31 lines (26 loc) · 1.3 KB
/
log4perl.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# 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.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