-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: log prod 파일 추가 * feat: 밸런스 게임 조회 시 fileId 필드 추가 * chore: submodule 최신화 * feat: 변수를 선언하여 가독성 있게 수정 * feat: 네이밍 변경
- Loading branch information
Showing
6 changed files
with
49 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule config
updated
from 1109d6 to 5d08cd
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
Configuration: | ||
name: Logger-prod | ||
status: info | ||
|
||
Appenders: | ||
RollingFile: | ||
name: RollingFile_Appender | ||
fileName: ${sys:LOG_DIR}/logfile.log | ||
filePattern: "${sys:LOG_DIR}/logfile-%d{yyyy-MM-dd}.%i.txt" | ||
PatternLayout: | ||
pattern: "%style{%d{yyyy-MM-dd HH:mm:ss.SSS}{GMT+9}}{cyan} %highlight{[%-5p]}{FATAL=bg_red, | ||
ERROR=red, INFO=green, DEBUG=blue, TRACE=bg_yellow} [%C] %style{[%t]}{yellow}- %m%n" | ||
# immediateFlush: false # async 방식으로 버퍼를 통해 로그 남기기 | ||
|
||
Policies: | ||
SizeBasedTriggeringPolicy: | ||
size: "10 MB" | ||
TimeBasedTriggeringPolicy: | ||
Interval: 1 # 하루마다 rollover 발생 | ||
modulate: true | ||
|
||
DefaultRollOverStrategy: | ||
max: 10 | ||
Delete: | ||
basePath: ${sys:LOG_DIR} | ||
maxDepth: "1" # 디렉토리 깊이 | ||
IfLastModified: | ||
age: "P7D" # 파일을 7일동안 보관 | ||
|
||
Loggers: | ||
Root: | ||
level: info | ||
AppenderRef: | ||
ref: RollingFile_Appender | ||
Logger: | ||
name: picko-prod | ||
additivity: false | ||
level: info | ||
includeLocation: false | ||
AppenderRef: | ||
ref: RollingFile_Appender |