Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Fedex
/
iClear-api
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
tao.mo
2022-03-11 15:01:44 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
da3740304564cbb2f2fcb20c3bb28e2d259cc6e4
da374030
1 parent
68a011d3
日志输出路径调整
mt 2022年3月11日15:01:40
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
src/main/resources/logback.xml
src/main/resources/logback.xml
View file @
da37403
...
...
@@ -15,9 +15,9 @@
<appender
name=
"FILE"
class=
"ch.qos.logback.core.rolling.RollingFileAppender"
>
<prudent>
false
</prudent>
<append>
true
</append>
<file>
d:/home/app
/logs/iClear-api.log
</file>
<file>
E:/api
/logs/iClear-api.log
</file>
<rollingPolicy
class=
"ch.qos.logback.core.rolling.TimeBasedRollingPolicy"
>
<fileNamePattern>
d:/home/app
/logs/iClear-api-%d.%i.log
</fileNamePattern>
<fileNamePattern>
E:/api
/logs/iClear-api-%d.%i.log
</fileNamePattern>
<timeBasedFileNamingAndTriggeringPolicy
class=
"ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP"
>
<maxFileSize>
500MB
</maxFileSize>
</timeBasedFileNamingAndTriggeringPolicy>
...
...
Please
register
or
login
to post a comment