Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
GnssServer
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
zhushanglei
GnssServer
Commits
fa375150
Commit
fa375150
authored
Jul 14, 2022
by
zhushanglei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gps数据采集修改
parent
0ca5bcb8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
logback.xml
src/main/resources/logback.xml
+5
-1
No files found.
src/main/resources/logback.xml
View file @
fa375150
...
@@ -8,7 +8,11 @@
...
@@ -8,7 +8,11 @@
<appender
name=
"FILE"
class=
"ch.qos.logback.core.rolling.RollingFileAppender"
>
<appender
name=
"FILE"
class=
"ch.qos.logback.core.rolling.RollingFileAppender"
>
<rollingPolicy
class=
"ch.qos.logback.core.rolling.TimeBasedRollingPolicy"
>
<rollingPolicy
class=
"ch.qos.logback.core.rolling.TimeBasedRollingPolicy"
>
<fileNamePattern>
GnssServerLog/GnssServerLog.%d{yyyy-MM-dd}.log
</fileNamePattern>
<fileNamePattern>
GnssServerLog/GnssServerLog.%d{yyyy-MM-dd}.log
</fileNamePattern>
<maxHistory>
30
</maxHistory>
<maxHistory>
10
</maxHistory>
<!--控制所有归档日志文件的总大小-->
<totalSizeCap>
100MB
</totalSizeCap>
<!--是否在应用启动的时候删除历史日志-->
<cleanHistoryOnStart>
true
</cleanHistoryOnStart>
</rollingPolicy>
</rollingPolicy>
<encoder>
<encoder>
<pattern>
%date [%thread] %-5level %logger{35} - %msg%n
</pattern>
<pattern>
%date [%thread] %-5level %logger{35} - %msg%n
</pattern>
...
...
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