Skip to content
This repository has been archived by the owner on Apr 21, 2021. It is now read-only.

Commit

Permalink
Merge pull request #9 from sage417/fixContextName
Browse files Browse the repository at this point in the history
fix logback contextName
  • Loading branch information
yuanrw authored May 2, 2020
2 parents d2c65c5 + 78cc3fc commit 5b4c594
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions connector/src/main/resources/logback.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<configuration scan="true" scanPeriod="60 seconds" debug="false">
<contextName>rest</contextName>
<contextName>connector</contextName>

<appender name="console" class="ch.qos.logback.core.ConsoleAppender">
<encoder>
Expand All @@ -11,7 +11,7 @@
<appender name="file" class="ch.qos.logback.core.rolling.RollingFileAppender">
<file>${log.path}/connector.log</file>
<rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
<fileNamePattern>rest.%d{yyyy-MM-dd}.log</fileNamePattern>
<fileNamePattern>connector.%d{yyyy-MM-dd}.log</fileNamePattern>
</rollingPolicy>
<encoder>
<pattern>%d{yyyy-MM-dd HH:mm:ss.SSS} %contextName [%thread] %-5level %logger{36} - %msg%n</pattern>
Expand Down

0 comments on commit 5b4c594

Please sign in to comment.