Karaf
  1. Karaf
  2. KARAF-1367

Remove line number logging from default logging config

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.2.6
    • Fix Version/s: 2.2.7, 2.4.0, 3.0.0
    • Component/s: karaf-core
    • Labels:
      None

      Description

      This was fixed in ServiceMix a while ago in https://issues.apache.org/jira/browse/SMX4-748 and would be nice to get fixed in Karaf as well. Essentially, outputting the line number ("L" option) is super slow according to the log4j docs: http://logging.apache.org/log4j/1.2/apidocs/org/apache/log4j/PatternLayout.html

      Attaching patches shortly.

      1. KARAF-1367-trunk.patch
        3 kB
        Jonathan Anstey
      2. KARAF-1367-2.2.x.patch
        3 kB
        Jonathan Anstey

        Activity

        Hide
        Jonathan Anstey added a comment -

        Patch for 2.2.x branch.

        Show
        Jonathan Anstey added a comment - Patch for 2.2.x branch.
        Hide
        Jonathan Anstey added a comment -

        Patch for trunk.

        Show
        Jonathan Anstey added a comment - Patch for trunk.
        Hide
        Jonathan Anstey added a comment -

        Cool, just saw that you committed this. Thanks JB

        Show
        Jonathan Anstey added a comment - Cool, just saw that you committed this. Thanks JB
        Hide
        Jonathan Anstey added a comment -
        Show
        Jonathan Anstey added a comment - Fixed for 2.4 as well http://git-wip-us.apache.org/repos/asf/karaf/commit/93f6515c

          People

          • Assignee:
            Jonathan Anstey
            Reporter:
            Jonathan Anstey
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development