Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Complete
    • Affects Version/s: 1.0.3
    • Fix Version/s: None
    • Component/s: core
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: Macintosh

      Description

      A framework such as jersey will often be packaged into a web application. For
      example we're using it to do REST in Atlassian JIRA. Using java util logging
      for such a framework is a bit of problem because it can only be configured on a
      JVM wide level. In web development there may be many different webapps deployed
      side by side (many of which may use java util logging) so adding global (JVM
      wide) java util logging configuration isn't really an option.

      Jersey should switch to a logging framework like SLF4J.

        Issue Links

          Activity

          Hide
          antonystubbs added a comment -

          ugh. in 2011? slf4j is the defacto standard especially for frameworks. This is a huge PITA.

          Show
          antonystubbs added a comment - ugh. in 2011? slf4j is the defacto standard especially for frameworks. This is a huge PITA.
          Hide
          jwalton added a comment -

          This would really make embedding Jersey a lot better. I've made a start here:

          https://bitbucket.org/jwalton/jersey/changesets/tip/slf4j

          It'd be great to see this fixed for Jersey 2.

          Show
          jwalton added a comment - This would really make embedding Jersey a lot better. I've made a start here: https://bitbucket.org/jwalton/jersey/changesets/tip/slf4j It'd be great to see this fixed for Jersey 2.
          Hide
          rhinoarmy added a comment -

          I disagree, please do not use slf4j, it is too heavyweight for my application.

          Show
          rhinoarmy added a comment - I disagree, please do not use slf4j, it is too heavyweight for my application.
          Hide
          Libor Kramolis added a comment -

          Have you tried SLF4JBridgeHandler?

          Show
          Libor Kramolis added a comment - Have you tried SLF4JBridgeHandler ?
          Hide
          Michael Osipov added a comment -

          Libor Kramolis, that handler is pointer because this is a JVM-wide hook affecting all classloaders.

          Can we finally have JUL removed?

          Show
          Michael Osipov added a comment - Libor Kramolis , that handler is pointer because this is a JVM-wide hook affecting all classloaders. Can we finally have JUL removed?
          Hide
          Libor Kramolis added a comment -

          Still not decided to not to use JUL.

          Show
          Libor Kramolis added a comment - Still not decided to not to use JUL.
          Hide
          pawinder added a comment -

          slf4j is now a standard for java logging. Please provide an option to switch to slf4j logging.

          Show
          pawinder added a comment - slf4j is now a standard for java logging. Please provide an option to switch to slf4j logging.
          Hide
          Marek Potociar added a comment -

          Jersey 1.x branch is not under active development anymore. Only security issues and issues reported by the customers of commercially supported products that ship with Jersey are fixed on this code base right now.
          Please, move your code to Jersey 2.x and if you still see the issue there, feel free to file a bug against Jersey 2.x.

          Show
          Marek Potociar added a comment - Jersey 1.x branch is not under active development anymore. Only security issues and issues reported by the customers of commercially supported products that ship with Jersey are fixed on this code base right now. Please, move your code to Jersey 2.x and if you still see the issue there, feel free to file a bug against Jersey 2.x.

            People

            • Assignee:
              Unassigned
              Reporter:
              knecht_andreas
            • Votes:
              13 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: