Commit 67b8982d by QIANGLU

增加可以配置的logPath

parent 7a8bdb3c
......@@ -6,7 +6,7 @@
<groupId>com.secoo.mall</groupId>
<artifactId>secoo-log</artifactId>
<version>1.1.1.RELEASE</version>
<version>1.1.2.RELEASE</version>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
......
......@@ -3,7 +3,7 @@
<configuration scan="true" scanPeriod="60 seconds" debug="false">
<property resource="log.properties"/>
<property name="LOG_PATH" value="/data/logs" />
<property name="LOG_PATH" value="${logPath}" />
<property name="LOG_DIR" value="${LOG_PATH}/${logName}/%d{yyyyMMdd}"/>
<property name="MAX_FILE_SIZE" value="${logFileSize}"/>
<property name="MAX_HISTORY" value="${logMaxHistory}"/>
......
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