Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
techhero-guangxi-config
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
techhero-guangxi-config
Commits
2254a410
Commit
2254a410
authored
Jun 26, 2024
by
Administrator
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update application.yml
parent
5c46fb9c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
5 deletions
+4
-5
application.yml
+4
-5
No files found.
application.yml
View file @
2254a410
...
...
@@ -134,13 +134,12 @@ logging:
level
:
root
:
INFO
#生产禁用DEBUG
org.apache.ibatis.logging.stdout.StdOutImpl
:
DEBUG
#生产禁用
logback
:
rolling-policy
:
max-history
:
30
total-size-cap
:
"
500MB"
max-file-size
:
"
1KB"
file
:
name
:
/data/logs/${spring.application.name}/info.log
max-size
:
10MB
# 日志文件的最大大小
max-history
:
30
# 保留日志文件的最大历史记录天数
total-size-cap
:
500MB
# 日志文件的总大小上限
clean-history-on-start
:
true
# 应用启动时清理旧的日志文件
pattern
:
console
:
"
%d{yyyy-MM-dd
HH:mm:ss}
%highlight(%-5level)
[%thread]
%logger{36}.%M
%L
:
%msg%n"
file
:
"
%d{yyyy-MM-dd
HH:mm-ss}
%highlight(%-5level)
[%thread]
%logger{36}.%M
%L
:
%msg%n"
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment