http://bugzilla.slf4j.org/show_bug.cgi?id=287

           Summary: Beautification of error message in
                    Logger.createChildByName()
           Product: SLF4J
           Version: 1.6.x
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: minor
          Priority: P1
         Component: Core API
        AssignedTo: [email protected]
        ReportedBy: [email protected]


Currently the following text is generated:

      throw new IllegalArgumentException("For logger [" + this.name
          + "] child name [" + childName
          + " passed as parameter, may not include '.' after index"
          + (this.name.length() + 1));

This is missing a ] and a " ", (I also would replace "index" by "position" and
use CoreConstants.DOT) thus:

      throw new IllegalArgumentException("For logger [" + this.name
          + "], child name [" + childName
          + "] passed as parameter may not include the dot separator '"
          + CoreConstants.DOT
          + "' after position "
          + (this.name.length() + 1));

-- 
Configure bugmail: http://bugzilla.slf4j.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
slf4j-dev mailing list
[email protected]
http://mailman.qos.ch/mailman/listinfo/slf4j-dev

Reply via email to