Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-3047

Log message from other loggers get added to error.log

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • Commons Log 4.0.0
    • Commons Log 4.0.0
    • Commons

    Description

      With new Logback based Log the error message for other categories like "log.request" get added to error.log. This is happening because by default Logback Loggers have additivity [1] set to true. For compatibility purpose the additivity for Loggers configured vis OSGi config must be set to false

      [1] http://logback.qos.ch/manual/architecture.html#additivity

      Attachments

        1. SLING-3047.patch
          1 kB
          Chetan Mehrotra

        Activity

          People

            chetanm Chetan Mehrotra
            chetanm Chetan Mehrotra
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: