-
Notifications
You must be signed in to change notification settings - Fork 0
/
logback.xml
87 lines (83 loc) · 3.83 KB
/
logback.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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
<?xml version="1.0" encoding="UTF-8"?>
<!-- For assistance related to logback-translator or configuration -->
<!-- files in general, please contact the logback user mailing list -->
<!-- at http://www.qos.ch/mailman/listinfo/logback-user -->
<!-- -->
<!-- For professional support please see -->
<!-- http://www.qos.ch/shop/products/professionalSupport -->
<!-- -->
<configuration debug="false" scan="true" scanPeriod="3600 seconds">
<!-- Errors were reported during translation. -->
<!-- Could not find transformer for org.apache.log4j.rolling.RollingFileAppender -->
<appender name="stdout" class="ch.qos.logback.core.ConsoleAppender">
<Target>System.out</Target>
<encoder>
<pattern>%date{yyyy-MM-dd-HH:mm:ss.SSSS} %p [%c{1}] %m%n</pattern>
</encoder>
<filter class="ch.qos.logback.classic.filter.ThresholdFilter">
<level>OFF</level>
</filter>
</appender>
<appender name="FILE-AUDIT" class="ch.qos.logback.core.rolling.RollingFileAppender">
<file>/var/log/rsk/rsk.log</file>
<encoder class="ch.qos.logback.classic.encoder.PatternLayoutEncoder">
<Pattern>
%date{yyyy-MM-dd-HH:mm:ss.SSS} %p [%c{1}] %m%n
</Pattern>
</encoder>
<rollingPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedRollingPolicy">
<fileNamePattern>/var/log/rsk/rsk-%d{yyyy-MM-dd}.%i.log.gz</fileNamePattern>
<maxFileSize>100MB</maxFileSize>
<maxHistory>7</maxHistory>
<totalSizeCap>1GB</totalSizeCap>
</rollingPolicy>
</appender>
<logger name="execute" level="ALL" />
<logger name="blockvalidator" level="INFO" />
<logger name="blocksyncservice" level="TRACE" />
<logger name="blockexecutor" level="INFO" />
<logger name="general" level="DEBUG" />
<logger name="gaspricetracker" level="ERROR" />
<logger name="web3" level="ALL" />
<logger name="repository" level="ERROR" />
<logger name="VM" level="ERROR" />
<logger name="blockqueue" level="ERROR" />
<logger name="io.netty" level="ERROR" />
<logger name="block" level="ERROR" />
<logger name="minerserver" level="INFO" />
<logger name="txbuilderex" level="ERROR" />
<logger name="pendingstate" level="INFO" />
<logger name="hsqldb.db" level="ERROR" />
<logger name="TCK-Test" level="ERROR" />
<logger name="db" level="ERROR" />
<logger name="net" level="ERROR" />
<logger name="start" level="ALL" />
<logger name="cli" level="ERROR" />
<logger name="txs" level="ERROR" />
<logger name="gas" level="ERROR" />
<logger name="main" level="ALL" />
<logger name="trie" level="ERROR" />
<logger name="org.hibernate" level="ERROR" />
<logger name="peermonitor" level="ERROR" />
<logger name="bridge" level="ERROR" />
<logger name="org.springframework" level="ERROR" />
<logger name="rlp" level="ERROR" />
<logger name="messagehandler" level="ERROR" />
<logger name="syncprocessor" level="TRACE" />
<logger name="sync" level="ERROR" />
<logger name="BtcToRskClient" level="ERROR" />
<logger name="ui" level="ALL" />
<logger name="java.nio" level="ERROR" />
<logger name="org.eclipse.jetty" level="ERROR" />
<logger name="wire" level="ERROR" />
<logger name="BridgeSupport" level="ERROR" />
<logger name="jsonrpc" level="ALL" />
<logger name="wallet" level="ERROR" />
<logger name="blockchain" level="INFO" />
<logger name="blockprocessor" level="ERROR" />
<logger name="state" level="ALL" />
<root level="DEBUG">
<appender-ref ref="stdout" />
<appender-ref ref="FILE-AUDIT" />
</root>
</configuration>