Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
Y
YX_IDENT_beijing_auxiliary_YD
Project
Project
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
zhangyusheng
YX_IDENT_beijing_auxiliary_YD
Commits
fe2afd50
Commit
fe2afd50
authored
Jun 24, 2019
by
Administrator
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改日志大小限制为20MB
parent
a84e7158
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
log4j.properties
src/main/resources/log4j.properties
+2
-2
No files found.
src/main/resources/log4j.properties
View file @
fe2afd50
...
@@ -12,7 +12,7 @@ log4j.appender.stdout.layout = org.apache.log4j.PatternLayout
...
@@ -12,7 +12,7 @@ log4j.appender.stdout.layout = org.apache.log4j.PatternLayout
log4j.appender.stdout.layout.ConversionPattern
=
[%-5p] %d{yyyy-MM-dd HH:mm:ss,SSS} method:%l%n%m%n
log4j.appender.stdout.layout.ConversionPattern
=
[%-5p] %d{yyyy-MM-dd HH:mm:ss,SSS} method:%l%n%m%n
### 输出DEBUG 级别以上的日志到=E://logs/error.log ###
### 输出DEBUG 级别以上的日志到=E://logs/error.log ###
log4j.appender.D
=
org.apache.log4j.
Daily
RollingFileAppender
log4j.appender.D
=
org.apache.log4j.RollingFileAppender
log4j.appender.D.File
=
./logs/debug.log
log4j.appender.D.File
=
./logs/debug.log
log4j.appender.D.Append
=
true
log4j.appender.D.Append
=
true
log4j.appender.D.Threshold
=
DEBUG
log4j.appender.D.Threshold
=
DEBUG
...
@@ -21,7 +21,7 @@ log4j.appender.D.layout = org.apache.log4j.PatternLayout
...
@@ -21,7 +21,7 @@ log4j.appender.D.layout = org.apache.log4j.PatternLayout
log4j.appender.D.layout.ConversionPattern
=
%-d{yyyy-MM-dd HH:mm:ss} [%X{ip}] [ %t:%r ] - [ %p ] %l %m%n
log4j.appender.D.layout.ConversionPattern
=
%-d{yyyy-MM-dd HH:mm:ss} [%X{ip}] [ %t:%r ] - [ %p ] %l %m%n
### 输出ERROR 级别以上的日志到=E://logs/error.log ###
### 输出ERROR 级别以上的日志到=E://logs/error.log ###
log4j.appender.E
=
org.apache.log4j.
Daily
RollingFileAppender
log4j.appender.E
=
org.apache.log4j.RollingFileAppender
log4j.appender.E.File
=
./logs/error.log
log4j.appender.E.File
=
./logs/error.log
log4j.appender.E.Append
=
true
log4j.appender.E.Append
=
true
log4j.appender.E.Threshold
=
ERROR
log4j.appender.E.Threshold
=
ERROR
...
...
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