openvidu-server: logback configuration updated

pull/405/head
pabloFuente 2020-02-21 12:55:03 +01:00
parent 947435f5c1
commit f287828295
1 changed files with 4 additions and 4 deletions

View File

@ -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>