Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
MCMS
Commits
5510201e
Commit
5510201e
authored
Jan 07, 2021
by
guwd
Browse files
配置优化
parent
b57b6735
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/main/resources/application.yml
View file @
5510201e
...
...
@@ -7,7 +7,7 @@ server:
logging
:
level
:
net.mingsoft
:
error
net.mingsoft
:
debug
file
:
name
:
mcms.log
#会在项目的根目录下生成对应的mcms.log文件,也可以根据实际情况写绝对路径,例如:d:/mcms.log
path
:
log
#会在项目的根目录下生成log目录,里面会生成对应的日期目录,日期目录下面生成日志压缩包备份文件,默认按每10M分割一个日志文件,例如:log/2020-01/app-2020-01-03-18.1.log.gz(表示2020年1月3号下午六点的第一个备份),也可以根据实际情况写绝对路径,例如:d:/log
...
...
@@ -43,7 +43,7 @@ spring:
datasource
:
druid
:
stat-view-servlet
:
enabled
:
tru
e
#启用druid监控
enabled
:
fals
e
#启用druid监控
profiles
:
active
:
dev
cache
:
...
...
Write
Preview
Supports
Markdown
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