seb-server/src/main/resources/logback-spring.xml

56 lines
1.6 KiB
XML
Raw Normal View History

2019-02-26 09:42:53 +01:00
<?xml version="1.0" encoding="UTF-8"?>
<configuration debug="false" scan="false">
<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
<encoder>
<pattern>%d{HH:mm:ss.SSS} %-5level [%thread]:[%logger] %msg%n</pattern>
</encoder>
</appender>
<appender name="FILE" class="ch.qos.logback.core.FileAppender">
<file>log/sebserver.log</file>
2019-02-26 09:42:53 +01:00
<append>true</append>
<encoder>
<pattern>%d{HH:mm:ss.SSS} %-5level [%thread]:[%logger] %msg%n</pattern>
</encoder>
</appender>
<springProfile name="dev">
2021-04-27 15:17:16 +02:00
<root level="INFO" additivity="true">
2019-02-26 09:42:53 +01:00
<appender-ref ref="STDOUT" />
</root>
2020-08-20 19:30:39 +02:00
<Logger name="ch.ethz.seb.SEB_SERVER_INIT" level="INFO" additivity="false">
<appender-ref ref="STDOUT" />
</Logger>
2020-04-30 16:48:56 +02:00
</springProfile>
<springProfile name="test">
2019-12-11 11:15:35 +01:00
<root level="WARN" additivity="true">
<appender-ref ref="STDOUT" />
</root>
2019-02-26 09:42:53 +01:00
</springProfile>
<springProfile name="demo">
<root level="INFO" additivity="true">
<appender-ref ref="STDOUT" />
</root>
<Logger name="ch.ethz.seb.sebserver.webservice.servicelayer.sebconfig.impl.SebClientConfigServiceImpl" level="DEBUG" additivity="true" />
2019-02-26 09:42:53 +01:00
</springProfile>
2019-07-11 17:03:30 +02:00
2019-08-26 16:54:23 +02:00
<springProfile name="prod">
2020-04-30 16:48:56 +02:00
<Logger name="ch.ethz.seb" level="WARN" additivity="true">
<appender-ref ref="STDOUT" />
</Logger>
2020-05-07 13:17:29 +02:00
<Logger name="ch.ethz.seb.SEB_SERVER_INIT" level="INFO" additivity="false">
2020-04-30 16:48:56 +02:00
<appender-ref ref="STDOUT" />
</Logger>
2019-08-26 16:54:23 +02:00
</springProfile>
2019-02-26 09:42:53 +01:00
</configuration>