Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
荆蔚杰
/
java.archive
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
b9e56798
authored
2021-12-08 08:48:28 +0800
by
荆蔚杰
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
日志配置文件修改
1 parent
d4172a86
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
4 deletions
src/main/resources/application-dev.yaml
src/main/resources/logback-spring.xml
src/main/resources/application-dev.yaml
View file @
b9e5679
...
...
@@ -59,8 +59,6 @@ management:
include
:
"
*"
logging
:
level
:
com.pashanhoo
:
debug
config
:
"
classpath:logback-spring.xml"
minio
:
...
...
src/main/resources/logback-spring.xml
View file @
b9e5679
...
...
@@ -164,13 +164,13 @@
<!--开发环境:打印控制台-->
<springProfile
name=
"dev"
>
<logger
name=
"com.pashanhoo
.*
"
level=
"debug"
additivity=
"false"
>
<logger
name=
"com.pashanhoo"
level=
"debug"
additivity=
"false"
>
<appender-ref
ref=
"CONSOLE"
/>
</logger>
</springProfile>
<!-- 生产环境. -->
<springProfile
name=
"prod"
>
<logger
name=
"com.pashanhoo
.*
"
level=
"INFO"
additivity=
"false"
>
<logger
name=
"com.pashanhoo"
level=
"INFO"
additivity=
"false"
>
<appender-ref
ref=
"INFO_FILE"
/>
</logger>
</springProfile>
...
...
Please
register
or
sign in
to post a comment