Uploaded image for project: 'Commons Logging'
  1. Commons Logging
  2. LOGGING-17

[logging] SimpleLog.java adds extra - characters

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: Nightly Builds
    • Fix Version/s: 1.0.4
    • Labels:
      None
    • Environment:

      Operating System: other
      Platform: Other

    • Bugzilla Id:
      25940

      Description

      I've just started using commons-logging, so I used SimpleLog to get started.
      When doing so I found that the output isn't consistent.

      With the default settings (showlogname=false, showShortLogname=true) the output
      looks like this:

      [DEBUG] CodeGenerator - -locale.language=sv

      With altered settings (showlogname=true, showShortLogname=false) the output
      looks like this:

      [DEBUG] se.dennislundberg.codegeneration.ui.CodeGenerator - locale.language=sv

      As you can see in the first example there is an extra '-' before the log message.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              dennisl@apache.org Dennis Lundberg
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: