Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
secoo-log
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
CI / CD
CI / CD
Pipelines
Schedules
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
mall
arch
secoo-log
Commits
67b8982d
Commit
67b8982d
authored
Jan 09, 2020
by
QIANGLU
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
增加可以配置的logPath
parent
7a8bdb3c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
pom.xml
pom.xml
+1
-1
logback.xml
src/main/resources/logback.xml
+1
-1
No files found.
pom.xml
View file @
67b8982d
...
...
@@ -6,7 +6,7 @@
<groupId>
com.secoo.mall
</groupId>
<artifactId>
secoo-log
</artifactId>
<version>
1.1.
1
.RELEASE
</version>
<version>
1.1.
2
.RELEASE
</version>
<properties>
<project.build.sourceEncoding>
UTF-8
</project.build.sourceEncoding>
...
...
src/main/resources/logback.xml
View file @
67b8982d
...
...
@@ -3,7 +3,7 @@
<configuration
scan=
"true"
scanPeriod=
"60 seconds"
debug=
"false"
>
<property
resource=
"log.properties"
/>
<property
name=
"LOG_PATH"
value=
"
/data/logs
"
/>
<property
name=
"LOG_PATH"
value=
"
${logPath}
"
/>
<property
name=
"LOG_DIR"
value=
"${LOG_PATH}/${logName}/%d{yyyyMMdd}"
/>
<property
name=
"MAX_FILE_SIZE"
value=
"${logFileSize}"
/>
<property
name=
"MAX_HISTORY"
value=
"${logMaxHistory}"
/>
...
...
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