Uploaded image for project: 'JBoss Logging'
  1. JBoss Logging
  2. JBLOGGING-57

Logic for selecting a provider is too fragile

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Major Major
    • 3.0.0.Beta5-jboss-logging
    • 3.0.0.Beta4-jboss-logging
    • None
    • None
    • Low

      The logic used to select the logging provider is too fragile. It should never throw an exception while selecting a provider, because JDK logging is guaranteed to be available and should be the fallback choice. When JBoss Logging fails to select a provider, it causes deployment to fail, which violates my rule #1 of a logging framework (don't fail a build because of a failure to setup logging).

      The fragile logic is the reason we get JBLOGGING-47.

            dlloyd@redhat.com David Lloyd
            dan.j.allen Dan Allen (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: