You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by GitBox <gi...@apache.org> on 2020/12/19 11:53:40 UTC

[GitHub] [skywalking] beijingzhangwei opened a new issue #6032: Gradle+logback 1.2.3+springboot 2.7.7 +apm-toolkit-logback-1.x 6.6.0==> [tid] is not a valid conversion word

beijingzhangwei opened a new issue #6032:
URL: https://github.com/apache/skywalking/issues/6032


   Please answer these questions before submitting your issue.
   
   - Why do you submit this issue?
   - [ java logback tid not valid]
   
   
   ___
   ### Question
   - how to resovle?
   2020-12-19 19:48:16]-[ERROR]-[SpringApplication.java : 826]-[ERROR %PARSER_ERROR[tid] main]-[TraceId:]-[Application run failed
   java.lang.IllegalStateException: Logback configuration error detected: 
   ERROR in ch.qos.logback.core.pattern.parser.Compiler@672872e1 - There is no conversion class registered for conversion word [tid]
   ERROR in ch.qos.logback.core.pattern.parser.Compiler@672872e1 - [tid] is not a valid conversion word
   ERROR in ch.qos.logback.core.pattern.parser.Compiler@32910148 - There is no conversion class registered for conversion word [tid]
   ERROR in ch.qos.logback.core.pattern.parser.Compiler@32910148 - [tid] is not a valid conversion word
   ERROR in ch.qos.logback.core.pattern.parser.Compiler@3f56875e - There is no conversion class registered for conversion word [tid]
   ERROR in ch.qos.logback.core.pattern.parser.Compiler@3f56875e - [tid] is not a valid conversion word
   	at org.springframework.boot.logging.logback.LogbackLoggingSystem.loadConfiguration(LogbackLoggingSystem.java:169)
   	at org.springframework.boot.logging.AbstractLoggingSystem.initializeWithConventions(AbstractLoggingSystem.java:80)
   	at org.springframework.boot.logging.AbstractLoggingSystem.initialize(AbstractLoggingSystem.java:60)
   	at org.springframework.boot.logging.logback.LogbackLoggingSystem.initialize(LogbackLoggingSystem.java:118)
   	at org.springframework.boot.context.logging.LoggingApplicationListener.initializeSystem(LoggingApplicationListener.java:313)
   	at org.springframework.boot.context.logging.LoggingApplicationListener.initialize(LoggingApplicationListener.java:288)
   	at org.springframework.boot.context.logging.LoggingApplicationListener.onApplicationEnvironmentPreparedEvent(LoggingApplicationListener.java:246)
   	at org.springframework.boot.context.logging.LoggingApplicationListener.onApplicationEvent(LoggingApplicationListener.java:223)
   	at org.springframework.context.event.SimpleApplicationEventMulticaster.doInvokeListener(SimpleApplicationEventMulticaster.java:172)
   	a
   ___
   ### Bug
   - jdk 1.8.0_144 + contos 1.8.1 +logback 1.2.3+springboot 2.7.7 +apm-toolkit-logback-1.x 6.6.0
   
   - 小打卡 微信小程序 TOP 15


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [skywalking] kezhenxu94 commented on issue #6032: Gradle+logback 1.2.3+springboot 2.7.7 +apm-toolkit-logback-1.x 6.6.0==> [tid] is not a valid conversion word

Posted by GitBox <gi...@apache.org>.
kezhenxu94 commented on issue #6032:
URL: https://github.com/apache/skywalking/issues/6032#issuecomment-748465686


   Please read [the doc](https://github.com/apache/skywalking/blob/master/docs/en/setup/service-agent/java-agent/Application-toolkit-logback-1.x.md), you need a SkyWalking layout to parse `%tid`
   
   ```xml
   <layout class="org.apache.skywalking.apm.toolkit.log.logback.v1.x.TraceIdPatternLogbackLayout">
       <Pattern>%d{yyyy-MM-dd HH:mm:ss.SSS} [%tid] [%thread] %-5level %logger{36} -%msg%n</Pattern>
   </layout>
   ```


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [skywalking] kezhenxu94 closed issue #6032: Gradle+logback 1.2.3+springboot 2.7.7 +apm-toolkit-logback-1.x 6.6.0==> [tid] is not a valid conversion word

Posted by GitBox <gi...@apache.org>.
kezhenxu94 closed issue #6032:
URL: https://github.com/apache/skywalking/issues/6032


   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org