Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
kafka_forword
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
shuyulong
kafka_forword
Commits
705cde79
Commit
705cde79
authored
Jun 21, 2021
by
shuyulong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改日志文件名配置
parent
6fa68d1d
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
src/main/resources/log4j2.xml
+3
-4
No files found.
src/main/resources/log4j2.xml
View file @
705cde79
...
...
@@ -3,8 +3,7 @@
<Configuration
status=
"off"
monitorInterval=
"1800"
>
<properties>
<property
name=
"LOG_HOME"
>
/home/shuyulong/kafka_forword/logs/
</property>
<property
name=
"FILE_NAME"
>
forword
</property>
<property
name=
"LOG_HOME"
>
/home/shuyulong/kafka_forword/logs
</property>
</properties>
<Appenders>
...
...
@@ -14,8 +13,8 @@
</Console>
<RollingRandomAccessFile
name=
"running-log"
fileName=
"${LOG_HOME}/
${FILE_NAME}.log"
filePattern=
"${LOG_HOME}/
%d{yyyy-MM-dd}.log"
>
fileName=
"${LOG_HOME}/
forword.log"
filePattern=
"${LOG_HOME}/
%d{yyyy-MM-dd}.log"
>
<PatternLayout
pattern=
"%d{yyyy-MM-dd HH:mm:ss} %10p (%c:%M) - %m%n"
/>
<Policies>
...
...
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