-
Notifications
You must be signed in to change notification settings - Fork 0
/
log4perl.conf
33 lines (24 loc) · 1.12 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
32
33
########################################
# ROOT CATEGORY
# Log to a file 'spops.log' (controlled below)
#log4perl.logger = DEBUG, FileAppender
# Log to STDERR -- this will replicate earlier behavior
log4perl.logger = DEBUG, ScreenAppender
########################################
# CATEGORIES
log4perl.logger.SPOPS = INFO
log4perl.logger.SPOPS.DBI = INFO
log4perl.logger.SPOPS.SQLInterface = WARN
log4perl.logger.SPOPS.ClassFactory = WARN
########################################
# APPENDERS
# Normal file log
log4perl.appender.FileAppender = Log::Log4perl::Appender::File
log4perl.appender.FileAppender.filename = spops.log
log4perl.appender.FileAppender.layout = Log::Log4perl::Layout::PatternLayout
log4perl.appender.FileAppender.layout.ConversionPattern = %d{HH:mm:ss} %p %c %C (%L) %m %n
# Normal STDERR log
log4perl.appender.ScreenAppender = Log::Log4perl::Appender::Screen
log4perl.appender.ScreenAppender.stderr = 1
log4perl.appender.ScreenAppender.layout = Log::Log4perl::Layout::PatternLayout
log4perl.appender.ScreenAppender.layout.ConversionPattern = %d{HH:mm:ss} %p %c %C (%L) %m %n