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
Eladmin
Commits
88dc69fd
Commit
88dc69fd
authored
Mar 02, 2021
by
Zheng Jie
Browse files
[代码优化](v2.6):update logback.xml
parent
d8a458ca
Changes
1
Hide whitespace changes
Inline
Side-by-side
eladmin-system/src/main/resources/logback.xml
View file @
88dc69fd
...
...
@@ -2,7 +2,7 @@
<configuration
scan=
"true"
scanPeriod=
"30 seconds"
debug=
"false"
>
<contextName>
elAdmin
</contextName>
<property
name=
"log.charset"
value=
"utf-8"
/>
<property
name=
"log.pattern"
value=
"%
black(%
contextName-
)
%red(%d{yyyy-MM-dd HH:mm:ss}) %green([%thread]) %highlight(%-5level) %boldMagenta(%logger{36}) -
%gray(
%msg%n
)
"
/>
<property
name=
"log.pattern"
value=
"%contextName- %red(%d{yyyy-MM-dd HH:mm:ss}) %green([%thread]) %highlight(%-5level) %boldMagenta(%logger{36}) - %msg%n"
/>
<!--输出到控制台-->
<appender
name=
"console"
class=
"ch.qos.logback.core.ConsoleAppender"
>
...
...
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