update log config
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
ehlxr 2021-01-22 13:57:48 +08:00
parent 80bf81ded9
commit 264ecfe13e
2 changed files with 11 additions and 2 deletions

View File

@ -8,7 +8,7 @@
</appender> </appender>
<appender name="ERROR" class="ch.qos.logback.core.rolling.RollingFileAppender"> <appender name="ERROR" class="ch.qos.logback.core.rolling.RollingFileAppender">
<file>${LOG_PATH:.}/logs/did/did-server-error.log</file> <file>${LOG_PATH:-.}/logs/did/did-server-error.log</file>
<rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy"> <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
<fileNamePattern>/data/logs/did/did-server-error.log.%d{yyyy-MM-dd}</fileNamePattern> <fileNamePattern>/data/logs/did/did-server-error.log.%d{yyyy-MM-dd}</fileNamePattern>
<maxHistory>30</maxHistory> <maxHistory>30</maxHistory>
@ -25,7 +25,7 @@
</appender> </appender>
<appender name="NORMAL" class="ch.qos.logback.core.rolling.RollingFileAppender"> <appender name="NORMAL" class="ch.qos.logback.core.rolling.RollingFileAppender">
<file>./logs/did/did-server.log</file> <file>${LOG_PATH:-.}/logs/did/did-server.log</file>
<rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy"> <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
<fileNamePattern>/data/logs/did/did-server.log.%d{yyyy-MM-dd}</fileNamePattern> <fileNamePattern>/data/logs/did/did-server.log.%d{yyyy-MM-dd}</fileNamePattern>
<maxHistory>30</maxHistory> <maxHistory>30</maxHistory>

View File

@ -49,6 +49,15 @@
</dependencies> </dependencies>
</dependencyManagement> </dependencyManagement>
<dependencies>
<!-- 为了 debug 调试-->
<dependency>
<groupId>com.github.github</groupId>
<artifactId>site-maven-plugin</artifactId>
<version>0.12</version>
</dependency>
</dependencies>
<build> <build>
<pluginManagement> <pluginManagement>
<plugins> <plugins>