38 lines
998 B
XML
38 lines
998 B
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<configuration scan="true">
|
|
|
|
<property name="LOG_DIR" value="./bwhc_logs/"/>
|
|
<property name="LOG_FILE" value="bwhealthcloud"/>
|
|
|
|
<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
|
|
<encoder>
|
|
<pattern>%d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n</pattern>
|
|
</encoder>
|
|
</appender>
|
|
|
|
<!--
|
|
<appender name="FILE" class="ch.qos.logback.core.rolling.RollingFileAppender">
|
|
<file>${LOG_DIR}/${LOG_FILE}.log</file>
|
|
|
|
<rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
|
|
<fileNamePattern>${LOG_DIR}/${LOG_FILE}-%d{yyyy-MM-dd}.log</fileNamePattern>
|
|
|
|
<maxHistory>30</maxHistory>
|
|
<totalSizeCap>3GB</totalSizeCap>
|
|
</rollingPolicy>
|
|
|
|
<encoder>
|
|
<pattern>%d [%thread] %-5level %logger{36} - %msg%n</pattern>
|
|
</encoder>
|
|
</appender>
|
|
-->
|
|
<root level="DEBUG">
|
|
<appender-ref ref="STDOUT"/>
|
|
<!--
|
|
<appender-ref ref="FILE"/>
|
|
-->
|
|
</root>
|
|
|
|
</configuration>
|