Skip to content
Permalink
Browse files
update
  • Loading branch information
wangjinxi committed Jun 24, 2019
1 parent c726875 commit 7e4b9ad7c4466c5894b789a81be1929e42b94f1e
Showing 1 changed file with 3 additions and 3 deletions.
@@ -1,9 +1,9 @@
<configuration xmlns="http://logging.apache.org/log4php/">
<appender name="myAppender" class="LoggerAppenderFile">
<param name="file" value="/home/devops/workspace/dubbo/logs/consumer.log" />
<appender name="myAppender" class="LoggerAppenderDailyFile">
<layout class="LoggerLayoutPattern">
<param name="conversionPattern" value="[%date{Y-m-d H:i:s,u}][%level][%logger][%line] %message%newline" />
<param name="conversionPattern" value="[%date{Y-m-d H:i:s,u}][%level][traceid:%X{traceid}][%logger][%line] %message%newline" />
</layout>
<param name="file" value="/home/devops/workspace/dubbo/logs/consumer_%s.log" />
</appender>
<root>
<level value="DEBUG" />

0 comments on commit 7e4b9ad

Please sign in to comment.