Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
sv-springboot
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
bsoft
sv-springboot
Commits
b2c96d01
Commit
b2c96d01
authored
Dec 23, 2020
by
宋振民
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 日志存放目录变更
parent
d51843de
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
hs-admin/src/main/resources/logback-spring.xml
+2
-2
hs-api/src/main/resources/logback-spring.xml
+1
-1
No files found.
hs-admin/src/main/resources/logback-spring.xml
View file @
b2c96d01
...
...
@@ -7,8 +7,8 @@
<property
name=
"log.test.level"
value=
"DEBUG"
/>
<property
name=
"log.prod.level"
value=
"DEBUG"
/>
<property
name=
"log.max.size"
value=
"10MB"
/>
<!-- 日志文件大小 -->
<springProperty
scope=
"context"
name=
"log.profile"
source=
"
spring.profiles.active
"
defaultValue=
"app"
/>
<property
name=
"log.base"
value=
"/logs/admin/${log.profile}"
/>
<springProperty
scope=
"context"
name=
"log.profile"
source=
"
project.path
"
defaultValue=
"app"
/>
<property
name=
"log.base"
value=
"
.
/logs/admin/${log.profile}"
/>
<springProperty
scope=
"context"
name=
"log.moduleName"
source=
"spring.application.name"
defaultValue=
"app"
/>
<!--控制台输出 -->
...
...
hs-api/src/main/resources/logback-spring.xml
View file @
b2c96d01
...
...
@@ -8,7 +8,7 @@
<property
name=
"log.prod.level"
value=
"DEBUG"
/>
<property
name=
"log.max.size"
value=
"10MB"
/>
<!-- 日志文件大小 -->
<springProperty
scope=
"context"
name=
"log.profile"
source=
"project.path"
defaultValue=
"app"
/>
<property
name=
"log.base"
value=
"
/logs
/${log.profile}"
/>
<property
name=
"log.base"
value=
"
./logs/api
/${log.profile}"
/>
<springProperty
scope=
"context"
name=
"log.moduleName"
source=
"spring.application.name"
defaultValue=
"app"
/>
<!--控制台输出 -->
...
...
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