-
Notifications
You must be signed in to change notification settings - Fork 382
/
log4j2.xml
executable file
·35 lines (32 loc) · 1.21 KB
/
log4j2.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
<?xml version="1.0" encoding="UTF-8"?>
<Configuration>
<Appenders>
<Console name="console" target="SYSTEM_OUT">
<PatternLayout pattern="%d %-5p %c{1} - %m%n"/>
</Console>
<!--
<File name="audit-appender" fileName="/var/log/bastillion-audit.log" append="true">
<PatternLayout pattern="%d %-5p %c{1} - %m%n"/>
</File>
<File name="login-appender" fileName="/var/log/bastillion-login.log" append="true">
<PatternLayout pattern="%d %-5p %c{1} - %m%n"/>
</File>
-->
</Appenders>
<Loggers>
<!-- System audit example
<Logger name="io.bastillion.manage.util.SystemAudit" level="info" additivity="false">
<AppenderRef ref="audit-appender"/>
</Logger>
<Logger name="io.bastillion.manage.control.LoginAudit" level="info" additivity="false">
<AppenderRef ref="login-appender"/>
</Logger>
-->
<Logger name="io.bastillion.manage.control.LoginAudit" level="info" additivity="false">
<AppenderRef ref="console"/>
</Logger>
<Root level="warn">
<AppenderRef ref="console"/>
</Root>
</Loggers>
</Configuration>