Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
35 lines (32 sloc) 1.21 KB
<?xml version="1.0" encoding="UTF-8"?>
<Configuration status="warn" strict="true" monitorInterval="30">
<Properties>
<Property name="filename">c:\temp\spring-boot-example.log</Property>
<Property name="defaultpattern">logdate=(%d{ISO8601}) thread=(%thread)) level=(%level) loggerclass=(%logger{36}) message=(%msg)%n</Property>
</Properties>
<Filter type="ThresholdFilter" level="trace"/>
<Appenders>
<Appender type="Console" name="STDOUT">
<Layout type="PatternLayout" pattern="${defaultpattern}"/>
</Appender>
<Appender type="File" name="File" fileName="${filename}">
<Layout type="PatternLayout" pattern="${defaultpattern}" />
</Appender>
<Socket name="socket" host="pompeii" port="13456" reconnectionDelayMillis="5000">
<Layout type="PatternLayout" pattern="${defaultpattern}" />
<!-- <JSONLayout complete="true" compact="true" eventEol="true" /> -->
</Socket>
</Appenders>
<Loggers>
<Logger name="uk.co.vsf" level="info" additivity="false">
<AppenderRef ref="STDOUT"/>
<AppenderRef ref="File"/>
<AppenderRef ref="socket"/>
</Logger>
<Root level="warn">
<AppenderRef ref="STDOUT"/>
<AppenderRef ref="File"/>
<AppenderRef ref="socket"/>
</Root>
</Loggers>
</Configuration>
You can’t perform that action at this time.