mirror of https://github.com/OpenVidu/openvidu.git
openvidu-server: logback configuration updated
parent
947435f5c1
commit
f287828295
|
@ -1,7 +1,7 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<configuration>
|
<configuration>
|
||||||
|
|
||||||
<springProperty scope="context" name="cdrPath" source="openvidu.cdr.path"/>
|
<springProperty scope="context" name="cdrPath" source="openvidu.cdr.path" />
|
||||||
|
|
||||||
<timestamp key="myTimestamp" timeReference="contextBirth"
|
<timestamp key="myTimestamp" timeReference="contextBirth"
|
||||||
datePattern="HH-mm-ss" />
|
datePattern="HH-mm-ss" />
|
||||||
|
@ -11,10 +11,10 @@
|
||||||
<if
|
<if
|
||||||
condition='property("logging.colors").equalsIgnoreCase("true")'>
|
condition='property("logging.colors").equalsIgnoreCase("true")'>
|
||||||
<then>
|
<then>
|
||||||
<pattern>%highlight([%p]) %black(%d) %magenta([%.15t]) %black(%c) %cyan(\(%M\)) - %black(%msg%n)</pattern>
|
<pattern>%black(%highlight([%p]) %d{dd MMM HH:mm:ss.SSS} %magenta([%.15t]) \(%file:%line\) - %msg%n)</pattern>
|
||||||
</then>
|
</then>
|
||||||
<else>
|
<else>
|
||||||
<pattern>[%p] %d [%.15t] %c \(%M\) - %msg%n
|
<pattern>[%p] %d [%.15t] %c - %msg%n
|
||||||
</pattern>
|
</pattern>
|
||||||
</else>
|
</else>
|
||||||
</if>
|
</if>
|
||||||
|
|
Loading…
Reference in New Issue