bael-4843: add syslog appender to log4j conf
This commit is contained in:
parent
ec43ac575a
commit
2b64a6a263
|
@ -22,6 +22,10 @@
|
||||||
<TimeBasedTriggeringPolicy />
|
<TimeBasedTriggeringPolicy />
|
||||||
</Policies>
|
</Policies>
|
||||||
</RollingFile>
|
</RollingFile>
|
||||||
|
|
||||||
|
<Syslog name="Syslog" format="RFC5424" host="localhost" port="514"
|
||||||
|
protocol="UDP" appName="baeldung" facility="LOCAL0" />
|
||||||
|
|
||||||
</Appenders>
|
</Appenders>
|
||||||
|
|
||||||
<Loggers>
|
<Loggers>
|
||||||
|
@ -29,6 +33,7 @@
|
||||||
<Root level="info">
|
<Root level="info">
|
||||||
<AppenderRef ref="Console" />
|
<AppenderRef ref="Console" />
|
||||||
<AppenderRef ref="RollingFile" />
|
<AppenderRef ref="RollingFile" />
|
||||||
|
<AppenderRef ref="Syslog" />
|
||||||
</Root>
|
</Root>
|
||||||
|
|
||||||
<!-- LOG "com.baeldung*" at TRACE level -->
|
<!-- LOG "com.baeldung*" at TRACE level -->
|
||||||
|
|
Loading…
Reference in New Issue