Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gs1-office-web-sit
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
吴迪
gs1-office-web-sit
Commits
1492160d
Commit
1492160d
authored
Oct 26, 2022
by
weitong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 日志打印使用相对路径
增加本地lib打包后引用
parent
487f679e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletions
+2
-1
pom.xml
pom.xml
+1
-0
logback-spring.xml
src/main/resources/logback-spring.xml
+1
-1
No files found.
pom.xml
View file @
1492160d
...
...
@@ -323,6 +323,7 @@
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-maven-plugin
</artifactId>
<configuration>
<includeSystemScope>
true
</includeSystemScope>
<fork>
true
</fork>
</configuration>
</plugin>
...
...
src/main/resources/logback-spring.xml
View file @
1492160d
...
...
@@ -7,7 +7,7 @@
<contextName>
logback
</contextName>
<!-- name的值是变量的名称,value的值时变量定义的值。通过定义的值会被插入到logger上下文中。定义后,可以使“${}”来使用变量。 -->
<property
name=
"log.path"
value=
"
/my/log/gs1
"
/>
<property
name=
"log.path"
value=
"
../logs
"
/>
<!--0. 日志格式和颜色渲染 -->
<!-- 彩色日志依赖的渲染类 -->
...
...
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