还有更多示例:
Nov 19 11:06:42 [redacted] app/web.7: 10111111166611[error] 19:06:42 c.TransactionController - [redacted].
Nov 19 10:50:02 [redacted] app/web.3: 110111001111111111111111016111[warn] 18:50:02 c.BrowseController - [redacted]
Nov 19 06:13:58 [redacted] app/web.2: 1101111111110[warn] 14:13:57 c.TransactionController - [redacted]
Nov 19 05:33:26 [redacted] app/web.4: 111111111111111111001011[error] 13:33:26 c.TransactionController -[redacted]
Nov 19 05:11:32 [redacted] app/web.3: 1111111111111111011[warn] 13:11:32 c.TransactionController - [redacted]
Nov 19 04:42:30 [redacted] app/web.8: 01111111110111111110110[error] 12:42:30 c.TransactionController - [redacted]
Nov 19 03:26:09 [redacted] app/web.4: 11011111006660000[error] 11:26:09 c.TransactionController - [redacted]
大约从昨天开始它开始显示在我的日志中。
我的应用程序已部署在Heroku上,我们使用slf4j和logback。日志将发送到Papertrails。
起初,我以为是二进制数,但后来有6s。
任何人都有聪明的猜测是什么?谢谢。
编辑:这是我的日志配置:
<configuration>
<conversionRule conversionWord="coloredLevel" converterClass="play.api.libs.logback.ColoredLevel" />
<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
<encoder>
<pattern>%coloredLevel %date{HH:mm:ss} %logger{15} - %message%n%xException{10}</pattern>
</encoder>
</appender>
<appender name="ASYNCSTDOUT" class="ch.qos.logback.classic.AsyncAppender">
<appender-ref ref="STDOUT" />
</appender>
<logger name="com.avaje.ebean.config.PropertyMapLoader" level="OFF" />
<logger name="com.avaje.ebeaninternal.server.core.XmlConfigLoader" level="OFF" />
<logger name="com.avaje.ebeaninternal.server.lib.BackgroundThread" level="OFF" />
<logger name="com.gargoylesoftware.htmlunit.javascript" level="OFF" />/>
<logger name="com.zaxxer.hikari" level="OFF" />
<logger name="play" level="INFO" />
<logger name="application" level="INFO" />
<logger name="play.api.db.evolutions" level="DEBUG" />
<root level="INFO">
<appender-ref ref="ASYNCSTDOUT" />
</root>
</configuration>
答案 0 :(得分:1)
尝试删除%coloredLeve。看起来有些东西不了解颜色逃逸。