Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Q
qa-platform
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
QA
qa-platform
Commits
ffcd4673
Commit
ffcd4673
authored
Mar 01, 2021
by
黎博
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
debug
parent
808248da
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
logback-dev.xml
src/main/resources/logback-dev.xml
+3
-3
No files found.
src/main/resources/logback-dev.xml
View file @
ffcd4673
<?xml version="1.0" encoding="UTF-8" ?>
<?xml version="1.0" encoding="UTF-8" ?>
<!-- 日志配置 -->
<!-- 日志配置 -->
<configuration>
<configuration>
<property
name=
"DEV_HOME"
value=
"
.
"
/>
<property
name=
"DEV_HOME"
value=
"
/home/quant_group
"
/>
<springProperty
name=
"spring.application.name"
source=
"spring.application.name"
/>
<springProperty
name=
"spring.application.name"
source=
"spring.application.name"
/>
<property
name=
"LOG_LEVEL_PATTERN"
<property
name=
"LOG_LEVEL_PATTERN"
...
@@ -15,7 +15,7 @@
...
@@ -15,7 +15,7 @@
<!--滚动文件日志-->
<!--滚动文件日志-->
<appender
name=
"fileLog"
class=
"ch.qos.logback.core.rolling.RollingFileAppender"
>
<appender
name=
"fileLog"
class=
"ch.qos.logback.core.rolling.RollingFileAppender"
>
<file>
${DEV_HOME}/
debug
.log
</file>
<file>
${DEV_HOME}/
qa-platform
.log
</file>
<append>
true
</append>
<append>
true
</append>
<encoder>
<encoder>
<!--日志输出格式-->
<!--日志输出格式-->
...
@@ -25,7 +25,7 @@
...
@@ -25,7 +25,7 @@
<rollingPolicy
class=
"ch.qos.logback.core.rolling.TimeBasedRollingPolicy"
>
<rollingPolicy
class=
"ch.qos.logback.core.rolling.TimeBasedRollingPolicy"
>
<!-- rollover daily -->
<!-- rollover daily -->
<fileNamePattern>
${DEV_HOME}/
debug
.%d{yyyy-MM-dd}.%i.log
<fileNamePattern>
${DEV_HOME}/
qa-platform
.%d{yyyy-MM-dd}.%i.log
</fileNamePattern>
</fileNamePattern>
<timeBasedFileNamingAndTriggeringPolicy
<timeBasedFileNamingAndTriggeringPolicy
class=
"ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP"
>
class=
"ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP"
>
...
...
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