Skip to content

Commit

Permalink
fix: 로그백 경로 수정 (#87)
Browse files Browse the repository at this point in the history
  • Loading branch information
raymondanythings authored Aug 3, 2024
1 parent 71aa237 commit 3a32f66
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion layer-api/src/main/resources/console-appender.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,15 @@
</appender>

<appender name="FILE" class="ch.qos.logback.core.rolling.RollingFileAppender">
<file>./log/layer-api.log</file>

<rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
<fileNamePattern>${application.home:-.}/log/layer-api.%d{yyyy-MM-dd}.log
<fileNamePattern>${application.home:-.}/log/layer-api.%d{yyyy-MM-dd}.%i.log
</fileNamePattern>
<timeBasedFileNamingAndTriggeringPolicy
class="ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP">
<maxFileSize>50MB</maxFileSize>
</timeBasedFileNamingAndTriggeringPolicy>
<maxHistory>10</maxHistory>
</rollingPolicy>

Expand Down

0 comments on commit 3a32f66

Please sign in to comment.