logging progress
This commit is contained in:
parent
2762c22b71
commit
9a83dfc7ad
|
@ -111,6 +111,9 @@
|
|||
<zipfileset src="lib/server/cactoos.jar" includes="**/*.class"/>
|
||||
<zipfileset src="lib/server/javax.json.jar" includes="**/*.class"/>
|
||||
<zipfileset src="lib/server/takes.jar" includes="**/*.class"/>
|
||||
<zipfileset src="lib/log4j-api-2.13.3.jar"/>
|
||||
<zipfileset src="lib/log4j-core-2.13.3.jar"/>
|
||||
<fileset dir="../java_tools/proxy_server/src/main/resources" includes="**/*.*"/>
|
||||
</jar>
|
||||
</target>
|
||||
|
||||
|
|
|
@ -0,0 +1,32 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<Configuration>
|
||||
<Appenders>
|
||||
<RollingFile name="R" fileName="log/proxy.log"
|
||||
filePattern="log/proxy.log.%i.zip">
|
||||
<DetailedLogLayout2/>
|
||||
<Policies>
|
||||
<SizeBasedTriggeringPolicy size="500M"/>
|
||||
</Policies>
|
||||
<DefaultRolloverStrategy max="10" fileIndex="min"/>
|
||||
</RollingFile>
|
||||
<RollingFile name="E" fileName="log/proxy.err"
|
||||
filePattern="log/proxy.err.%i.zip">
|
||||
<ThresholdFilter level="WARN"/>
|
||||
<DetailedLogLayout2/>
|
||||
<Policies>
|
||||
<SizeBasedTriggeringPolicy size="500M"/>
|
||||
</Policies>
|
||||
<DefaultRolloverStrategy max="10" fileIndex="min"/>
|
||||
</RollingFile>
|
||||
<File name="S1_Logger" fileName="log/proxy.xxx"/>
|
||||
</Appenders>
|
||||
<Loggers>
|
||||
<AsyncRoot level="DEBUG">
|
||||
<AppenderRef ref="R"/>
|
||||
<AppenderRef ref="E"/>
|
||||
</AsyncRoot>
|
||||
<Logger name="com.rusefi.x" level="DEBUG" additivity="true">
|
||||
<AppenderRef ref="S1_Logger"/>
|
||||
</Logger>
|
||||
</Loggers>
|
||||
</Configuration>
|
Loading…
Reference in New Issue