|
|
@ -19,7 +19,6 @@ |
|
|
|
<!-- 设置字符集 --> |
|
|
|
<charset>UTF-8</charset> |
|
|
|
</encoder> |
|
|
|
|
|
|
|
</appender> |
|
|
|
|
|
|
|
<!--2. 输出到文档--> |
|
|
@ -128,34 +127,16 @@ |
|
|
|
<onMismatch>DENY</onMismatch> |
|
|
|
</filter> |
|
|
|
</appender> |
|
|
|
|
|
|
|
<!-- 开发、测试环境 --> |
|
|
|
<springProfile name="dev,test"> |
|
|
|
<logger name="org.springframework.web" level="INFO"/> |
|
|
|
<logger name="org.springboot.sample" level="INFO"/> |
|
|
|
<logger name="com.elink.esua.epdc" level="INFO"/> |
|
|
|
<logger name="com.elink.esua.epdc.modules.*.dao" level="DEBUG"/> |
|
|
|
<!--<logger name="com.elink.esua.epdc.modules.issue.dao" level="DEBUG"/>--> |
|
|
|
<root level="INFO"> |
|
|
|
<appender-ref ref="DEBUG_FILE"/> |
|
|
|
<appender-ref ref="INFO_FILE"/> |
|
|
|
<appender-ref ref="WARN_FILE"/> |
|
|
|
<appender-ref ref="ERROR_FILE"/> |
|
|
|
</root> |
|
|
|
</springProfile> |
|
|
|
|
|
|
|
<!-- 生产环境 --> |
|
|
|
<springProfile name="prod"> |
|
|
|
<logger name="org.springframework.web" level="ERROR"/> |
|
|
|
<logger name="org.springboot.sample" level="ERROR"/> |
|
|
|
<logger name="com.elink.esua.epdc" level="ERROR"/> |
|
|
|
<root level="ERROR"> |
|
|
|
<appender-ref ref="CONSOLE"/> |
|
|
|
<appender-ref ref="DEBUG_FILE"/> |
|
|
|
<appender-ref ref="INFO_FILE"/> |
|
|
|
<appender-ref ref="WARN_FILE"/> |
|
|
|
<appender-ref ref="ERROR_FILE"/> |
|
|
|
</root> |
|
|
|
</springProfile> |
|
|
|
<logger name="org.springframework.web" level="INFO"/> |
|
|
|
<logger name="org.springboot.sample" level="INFO"/> |
|
|
|
<logger name="com.elink.esua.epdc" level="INFO"/> |
|
|
|
<root level="INFO"> |
|
|
|
<appender-ref ref="CONSOLE"/> |
|
|
|
<appender-ref ref="DEBUG_FILE"/> |
|
|
|
<appender-ref ref="INFO_FILE"/> |
|
|
|
<appender-ref ref="WARN_FILE"/> |
|
|
|
<appender-ref ref="ERROR_FILE"/> |
|
|
|
</root> |
|
|
|
|
|
|
|
</configuration> |
|
|
|