Uploaded image for project: 'Immutant'
  1. Immutant
  2. IMMUTANT-464

Don't force tools.logging to use a particular provider

    Details

    • Type: Enhancement
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 1.1.4
    • Labels:
      None

      Description

      This is a reversal of IMMUTANT-444, because forcing tools.logging to use log4j makes it more difficult to use other providers. The correct way to handle this is for apps to always bind to a particular logging framework if they need one specifically, like so:

      (alter-var-root #'clojure.tools.logging/*logger-factory* (constantly (clojure.tools.logging.impl/slf4j-factory)))
      

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  Unassigned
                  Reporter:
                  tcrawley Toby Crawley
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: