summaryrefslogtreecommitdiffstats
path: root/src/main/properties/log4j2.properties
blob: c4175b0ead8ee7a1a3fdd16c77e264d92f359ce4 (plain) (blame)
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
43
44
status=error
name=log4j2PropertiesConfig

#
# root level logging configuration
#
rootLogger.level=all
rootLogger.appenderRefs=stdout
rootLogger.appenderRef.stdout.ref=logToConsole

#
# configuration for console output
#
appenders=console

appender.console.type=Console
appender.console.name=logToConsole
appender.console.layout.type=PatternLayout
appender.console.layout.pattern=[%t] %-5p %F - %m%n
appender.console.filter.threshold.type=ThresholdFilter
appender.console.filter.threshold.level=info

#
# overwrite logging level for specific packages and classes
#
loggers=apacheDirectory,apacheMina,apacheThriftServer

# overwrite logging level for org.apache.directory package
logger.apacheDirectory.name=org.apache.directory
logger.apacheDirectory.level=error
logger.apacheDirectory.appenderRefs=stdout
logger.apacheDirectory.appenderRef.stdout.ref=logToConsole

# overwrite logging level for org.apache.mina package
logger.apacheMina.name=org.apache.mina
logger.apacheMina.level=error
logger.apacheMina.appenderRefs=stdout
logger.apacheMina.appenderRef.stdout.ref=logToConsole

# overwrite logging level for org.apache.thrift.server.AbstractNonblockingServer class
logger.apacheThriftServer.name=org.apache.thrift.server.AbstractNonblockingServer
logger.apacheThriftServer.level=error
logger.apacheThriftServer.appenderRefs=stdout
logger.apacheThriftServer.appenderRef.stdout.ref=logToConsole