Uploaded image for project: 'Logback-Beagle - the console plugin for Eclipse'
  1. Logback-Beagle - the console plugin for Eclipse
  2. CONSPLUG-11

Console appender stops working after using paramter logging

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Critical Critical
    • None
    • unspecified
    • interface
    • None
    • Operating System: Windows
      Platform: PC

    • 118

    Description

      I'm pretty new to LOGBack but I've come across what appears to be a fairly major failing in the Eclipse console plugin.

      The first time a parameter replacing log message is used the console plugin stops working and doesn't log any further messages. I haven't written a simplified test case yet but here are three lines from my code that reliably trigger the problem:

      //This line appears in the console pluging and the standard tomcat console
      logger.debug( "Loading foo: " + foo );

      //Neither of these two lines appear in the console plugin but do appear in the
      //standard tomcat console
      logger.debug( "Loading foo {} bar {} for baz {}", new Object[]

      { foo, bar, baz}

      );
      logger.debug( "Loading bar: " + bar );

      Attachments

        Activity

          People

            logback-dev Logback dev list
            graham@crazysquirrel.com Graham Smith
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: