[logback-user] "#logback.classic pattern:" spam in 1.0.2

tsuna tsunanet at gmail.com
Wed May 2 09:53:40 CEST 2012

Hi list,
I just upgraded from logback-{core,classic} 1.0.0 to 1.0.2 and now
whenever I start my application I see a message like this one:

#logback.classic pattern: %msg%n

in my logs.  Like, really, it's literally logging the format string
itself.  Has a debug statement slipped in the 1.0.2 release?
Here's the configuration of the app, in case you need it:

<?xml version="1.0" encoding="UTF-8"?>
  <appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
        %d{ISO8601} %-5level [%thread] %logger{0}: %msg%n

  <appender name="ACCESS"
    <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
      <maxHistory>45<!-- days --></maxHistory>

  <logger name="access.log" additivity="false">
    <appender-ref ref="ACCESS"/>
  <root level="info">
    <appender-ref ref="STDOUT"/>

When I start my app, before my main() starts, I see this on the STDOUT
console logger:
#logback.classic pattern: %d{ISO8601} %-5level [%thread] %logger{0}: %msg%n
And this gets added to my logs/access.log:
#logback.classic pattern: %msg%n

Thanks in advance.

Benoit "tsuna" Sigoure
Software Engineer @ www.StumbleUpon.com

More information about the Logback-user mailing list