Commit 705cde79 by shuyulong

修改日志文件名配置

parent 6fa68d1d
......@@ -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>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment