mirror of https://github.com/OpenVidu/openvidu.git
openvidu-server: logback colors updated
parent
57b55bba85
commit
947435f5c1
|
@ -27,6 +27,9 @@ public class CDRLoggerFile implements CDRLogger {
|
|||
|
||||
private Logger log = LoggerFactory.getLogger(CDRLoggerFile.class);
|
||||
|
||||
/**
|
||||
* This logs directly to the file thanks to logback configuration
|
||||
*/
|
||||
@Override
|
||||
public void log(CDREvent event) {
|
||||
log.info("{}", event);
|
||||
|
|
|
@ -11,8 +11,7 @@
|
|||
<if
|
||||
condition='property("logging.colors").equalsIgnoreCase("true")'>
|
||||
<then>
|
||||
<pattern>%highlight([%p]) %d %magenta([%.15t]) %c \(%M\) - %msg%n
|
||||
</pattern>
|
||||
<pattern>%highlight([%p]) %black(%d) %magenta([%.15t]) %black(%c) %cyan(\(%M\)) - %black(%msg%n)</pattern>
|
||||
</then>
|
||||
<else>
|
||||
<pattern>[%p] %d [%.15t] %c \(%M\) - %msg%n
|
||||
|
|
Loading…
Reference in New Issue