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

Documentation for custom logging appenders is not relevant

    XMLWordPrintableJSON

Details

    • Task
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • Commons Log 5.0.2
    • None
    • Documentation

    Description

      Since SLING-3069 and SLING-3242 were implemented the examples in the documentation became irrelevant

      https://sling.apache.org/documentation/development/logging.html#appenders-as-osgi-services
      suffixing with the colon and logging level is not supported

      In SLING-3242 added new approach for assigning Appender to the Logger with the given loglevel

      I had spent a lot of time figuring out why examples from the official documentation don't work on my env until I found these tickets, and I want others to not repeat my way

      Attachments

        Activity

          People

            Unassigned Unassigned
            d.k.Brazz Denis Kurochkin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: