#BAEL-6912: add appender and logger
This commit is contained in:
parent
ed2f3234e6
commit
2026c298f9
|
@ -19,10 +19,18 @@
|
||||||
</layout>
|
</layout>
|
||||||
</appender>
|
</appender>
|
||||||
|
|
||||||
|
<appender name="jsonEncoder" class="ch.qos.logback.core.ConsoleAppender">
|
||||||
|
<encoder class="ch.qos.logback.classic.encoder.JsonEncoder"/>
|
||||||
|
</appender>
|
||||||
|
|
||||||
<logger name="jsonLogger" level="TRACE">
|
<logger name="jsonLogger" level="TRACE">
|
||||||
<appender-ref ref="json" />
|
<appender-ref ref="json" />
|
||||||
</logger>
|
</logger>
|
||||||
|
|
||||||
|
<logger name="jsonEncoderLogger" level="TRACE">
|
||||||
|
<appender-ref ref="jsonEncoder" />
|
||||||
|
</logger>
|
||||||
|
|
||||||
<root level="debug">
|
<root level="debug">
|
||||||
<appender-ref ref="map" />
|
<appender-ref ref="map" />
|
||||||
<appender-ref ref="badMap" />
|
<appender-ref ref="badMap" />
|
||||||
|
|
Loading…
Reference in New Issue