-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlogback.xml
33 lines (29 loc) · 1.1 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
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<appender name="FILE" class="ch.qos.logback.core.rolling.RollingFileAppender">
<file>logs/neo4j-gl.log</file>
<rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
<!-- daily rollover -->
<fileNamePattern>logs/neo4j-gl.%d{yyyyMMdd}.log</fileNamePattern>
</rollingPolicy>
<encoder>
<pattern>%d{yy.MM.dd HH:mm:ss.SSS} %5p %c{1}:%L - %m%n</pattern>
</encoder>
</appender>
<appender name="AUDIT" class="ch.qos.logback.core.rolling.RollingFileAppender">
<file>logs/neo4j-gl-audit.log</file>
<rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
<!-- daily rollover -->
<fileNamePattern>logs/neo4j-gl-audit.%d{yyyyMMdd}.log</fileNamePattern>
</rollingPolicy>
<encoder>
<pattern>%d{yy.MM.dd HH:mm:ss.SSS} %5p %c{1}:%L - %m%n</pattern>
</encoder>
</appender>
<logger name="sk.demtec.neo4j.plugins.audit.AuditTransactionEventHandler" level="INFO" additivity="false">
<appender-ref ref="AUDIT" />
</logger>
<root level="WARN">
<appender-ref ref="FILE" />
</root>
</configuration>