-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlog4j.properties
38 lines (28 loc) · 1.3 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
#example log4j property file
#Log4j is used throughout Ibis to enable the printing of debug and error
#messages. Log4j needs a configuration file to know what to print and
#where to print it to. This default file simply prints all errors to
#standard out.
#for more information, see the log4j website:
#http://logging.apache.org/log4j
#print warnings to console...
log4j.rootLogger=warn, SIMPLE_CONSOLE
#and possibly some other things...
log4j.logger.ibis.deploy=info
log4j.logger.ibis.smartsockets=error
log4j.logger.ibis.deploy.monitoring=error
#console appender
log4j.appender.CONSOLE=org.apache.log4j.ConsoleAppender
log4j.appender.CONSOLE.layout=org.apache.log4j.PatternLayout
log4j.appender.CONSOLE.layout.ConversionPattern=%d{HH:mm:ss} %-5p [%t] %c - %m%n
log4j.appender.CONSOLE.target=System.err
#simple console appender
log4j.appender.SIMPLE_CONSOLE=org.apache.log4j.ConsoleAppender
log4j.appender.SIMPLE_CONSOLE.layout=org.apache.log4j.PatternLayout
log4j.appender.SIMPLE_CONSOLE.layout.ConversionPattern=%d{HH:mm:ss} %-5p %m%n
log4j.appender.SIMPLE_CONSOLE.target=System.err
# file appender
log4j.appender.FILE=org.apache.log4j.FileAppender
log4j.appender.FILE.layout=org.apache.log4j.PatternLayout
log4j.appender.FILE.layout.ConversionPattern=%d{HH:mm:ss} %-5p [%t] %c - %m%n
log4j.appender.FILE.File=log.out