-
Notifications
You must be signed in to change notification settings - Fork 0
/
log4j2-example.xml
24 lines (24 loc) · 964 Bytes
/
log4j2-example.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<?xml version="1.0" encoding="UTF-8"?>
<Configuration status="WARN">
<Appenders>
<RollingFile name="File"
immediateFlush="true"
fileName="${env:SOLARNODE_LOGDIR:-/run/solarnode/log}/solarnode.log"
filePattern="${env:SOLARNODE_LOGDIR:-/run/solarnode/log}/solarnode-%i.log">
<PatternLayout pattern="%d{DEFAULT} %-5p %40.40c; %msg%n"/>
<Policies>
<SizeBasedTriggeringPolicy size="1 MB"/>
</Policies>
<DefaultRolloverStrategy max="3"/>
</RollingFile>
</Appenders>
<Loggers>
<Logger name="org.eclipse.gemini.blueprint.blueprint.container.support" level="warn"/>
<Logger name="org.eclipse.gemini.blueprint.context.support" level="warn"/>
<Logger name="org.eclipse.gemini.blueprint.service.importer.support" level="warn"/>
<Logger name="org.springframework.beans.factory" level="warn"/>
<Root level="info">
<AppenderRef ref="File"/>
</Root>
</Loggers>
</Configuration>