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
22ed1d26
Commit
22ed1d26
authored
Jun 26, 2024
by
Administrator
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update application.yml
parent
adf43526
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
application.yml
+3
-4
No files found.
application.yml
View file @
22ed1d26
...
...
@@ -131,16 +131,15 @@ gx:
cjtype
:
0
# 分割日志文件
logging
:
level
:
#生产禁用DEBUG
level
:
#生产禁用DEBUG
root
:
INFO
org.apache.ibatis.logging.stdout.StdOutImpl
:
DEBUG
#生产禁用
file
:
path
:
/data/logs/${spring.application.name}
name
:
info.log
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"
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