修复日志默认路径从配置文件读取
This commit is contained in:
parent
df819d8e3c
commit
401f2a5293
@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<configuration>
|
||||
<springProperty scope="context" name="LOG_LEVEL" source="logging.level.root" defaultValue="DEBUG"/>
|
||||
<springProperty scope="context" name="LOG_HOME" source="spider.job.log.path" defaultValue="/data/spider/logs"/>
|
||||
<springProperty scope="context" name="LOG_HOME" source="spider.job.log.path" defaultValue="${spider.job.log.path}"/>
|
||||
<!-- 控制台输出 -->
|
||||
<appender name="Stdout" class="ch.qos.logback.core.ConsoleAppender">
|
||||
<encoder class="ch.qos.logback.classic.encoder.PatternLayoutEncoder">
|
||||
|
Loading…
Reference in New Issue
Block a user