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
dcb6bf11
Commit
dcb6bf11
authored
Mar 01, 2021
by
黎博
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
ffcd4673
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
application.yml
src/main/resources/application.yml
+3
-3
logback-dev.xml
src/main/resources/logback-dev.xml
+3
-3
No files found.
src/main/resources/application.yml
View file @
dcb6bf11
...
@@ -43,9 +43,9 @@ pagehelper:
...
@@ -43,9 +43,9 @@ pagehelper:
params
:
count=countSql
params
:
count=countSql
# 日志配置
# 日志配置
#
logging:
logging
:
# level:
# level:
# root: info
# root: info
# cn.qg.qaplatform: info
# cn.qg.qaplatform: info
#
file:
file
:
#
name: /home/quant_group/logs/qa-platform.log
name
:
/home/quant_group/logs/qa-platform.log
src/main/resources/logback-dev.xml
View file @
dcb6bf11
<?xml version="1.0" encoding="UTF-8" ?>
<?xml version="1.0" encoding="UTF-8" ?>
<!-- 日志配置 -->
<!-- 日志配置 -->
<configuration>
<configuration>
<property
name=
"DEV_HOME"
value=
"
/home/quant_group
"
/>
<property
name=
"DEV_HOME"
value=
"
.
"
/>
<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}/
qa-platform
.log
</file>
<file>
${DEV_HOME}/
debug
.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}/
qa-platform
.%d{yyyy-MM-dd}.%i.log
<fileNamePattern>
${DEV_HOME}/
debug
.%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