Skip to content

Commit

Permalink
chore: fix log setting simple
Browse files Browse the repository at this point in the history
  • Loading branch information
psychology50 committed Jan 16, 2025
1 parent d3086f3 commit 06a2844
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions pennyway-app-external-api/src/main/resources/logback-spring.xml
Original file line number Diff line number Diff line change
Expand Up @@ -37,14 +37,12 @@

<!-- ์—๋Ÿฌ ๋ฐœ์ƒ์‹œ ๋ฌด์‹œํ•˜๋„๋ก ์„ค์ • -->
<prudent>true</prudent>

<rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
<rollingPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedRollingPolicy">
<!-- ๋กค๋ง๋œ ํŒŒ์ผ ๋ช…๋ช… ๊ทœ์น™ -->
<fileNamePattern>${LOG_PATH}/%d{yyyy-MM-dd}/${LOG_FILE_NAME}.%i.log</fileNamePattern>
<timeBasedFileNamingAndTriggeringPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP">
<!-- ํŒŒ์ผ๋‹น ์ตœ๋Œ€ ํฌ๊ธฐ -->
<maxFileSize>${LOG_MAX_FILE_SIZE}</maxFileSize>
</timeBasedFileNamingAndTriggeringPolicy>
<!-- ํŒŒ์ผ๋‹น ์ตœ๋Œ€ ํฌ๊ธฐ -->
<maxFileSize>${LOG_MAX_FILE_SIZE}</maxFileSize>
<!-- ๋ณด๊ด€ ์ฃผ๊ธฐ -->
<maxHistory>${LOG_MAX_HISTORY}</maxHistory>
<!-- ์ด ํŒŒ์ผ ํฌ๊ธฐ ์ œํ•œ -->
Expand Down

0 comments on commit 06a2844

Please sign in to comment.