4 Replies Latest reply on Aug 19, 2011 11:55 AM by Michael Brackx

    jboss 6 slf4j logging problem

    Michael Brackx Newbie

      When logging more than 2 arguments via the slf4j api, the array is logged instead of the individual arguments.

      For example:

      log.info("a {} b {} c {}", new Object[]{1,2,3});

      would give

      a [1, 2, 3] b {} c {}

      instead of

      a 1 b 2 c 3

       

      http://www.slf4j.org/apidocs/org/slf4j/Logger.html#info(java.lang.String, java.lang.Object[])