Add logging setting

This commit is contained in:
2023-10-15 16:15:23 +08:00
parent 1a3ae518dc
commit a3f02b1305
2 changed files with 18 additions and 1 deletions

View File

@@ -40,4 +40,14 @@ spring:
# min-idle: 0
# max-idle: 8
# max-active: 8
# max-wait: -1ms
# max-wait: -1ms
logging:
level:
root: info # Logging level
file:
name: data/log/fat-api.log # Logging path and name
logback:
rollingpolicy:
# max-file-size: 10MB # Maximum log file size
# max-history: 7 # Maximum number of archive log files to keep