-
Notifications
You must be signed in to change notification settings - Fork 0
/
log4j.properties
executable file
·42 lines (37 loc) · 1.57 KB
/
log4j.properties
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
34
35
36
37
38
39
40
41
42
# Properties file for logging via log4j
#
# $Id: log4j.properties 396 2009-02-13 15:24:07Z [email protected] $
log4j.rootLogger=debug, stdout, file
# Application logging level
# Valid options are TRACE,DEBUG,INFO,WARN,ERROR,FATAL
log4j.logger.org.solrmarc.marc.MarcImporter=INFO
log4j.logger.org.solrmarc.marc.MarcHandler=INFO
log4j.logger.org.solrmarc.tools.Utils=INFO
log4j.logger.org.vufind=INFO
log4j.logger.org.econtent=INFO
log4j.logger.org.API=INFO
# stdout appender
# Output the file name and line number to the console
log4j.appender.stdout=org.apache.log4j.ConsoleAppender
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
log4j.appender.stdout.layout.ConversionPattern=%5p [%t] (%F:%L) - %m%n
log4j.appender.stdout.target=System.out
# Log file appender
# Use a RollingFileAppender
# named solrmarc.log
# with a max file size of 100KB
# and keep 1 previous log file
log4j.appender.file=org.apache.log4j.RollingFileAppender
log4j.appender.file.File=solrmarc.log
log4j.appender.file.MaxFileSize=100KB
log4j.appender.file.MaxBackupIndex=1
log4j.appender.file.layout=org.apache.log4j.PatternLayout
log4j.appender.file.layout.ConversionPattern=%d [%t] %-5p %t %c - %m%n
#smtp
#log4j.appender.appMail=org.apache.log4j.net.SMTPAppender
#log4j.appender.appMail.SMTPHost=smtp.myuniversity.edu
#log4j.appender.appMail.Subject=VuFind Import Log
#log4j.appender.appMail.layout=org.apache.log4j.PatternLayout
#log4j.appender.appMail.layout.ConversionPattern=%p %d{dd/MM/yyyy HH:mm:ss} %F %L %m%n