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

[logging] SimpleLog.java adds extra - characters

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Nightly Builds
    • 1.0.4
    • None
    • Operating System: other
      Platform: Other

    • 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

        1. ASF.LICENSE.NOT.GRANTED--SimpleLog.java.patch
          2 kB
          Dennis Lundberg
        2. ASF.LICENSE.NOT.GRANTED--SimpleLog.patch
          5 kB
          Dennis Lundberg

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: