Log4j 2
  1. Log4j 2
  2. LOG4J2-24

Have an API method that does a deeper evaluation than Logger.isDebugEnabled() of whether logging will occur

    Details

    • Type: Wish Wish
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.0-alpha1
    • Component/s: None
    • Labels:
      None

      Activity

      Ralph Goers made changes -
      Status Resolved [ 5 ] Closed [ 6 ]
      Hide
      Ralph Goers added a comment -

      Closing this issue since there have been no other comments since it was marked resolved.

      Show
      Ralph Goers added a comment - Closing this issue since there have been no other comments since it was marked resolved.
      Ralph Goers made changes -
      Field Original Value New Value
      Status Open [ 1 ] Resolved [ 5 ]
      Assignee Ralph Goers [ ralph.goers@dslextreme.com ]
      Fix Version/s 2.0-alpha1 [ 12320347 ]
      Resolution Fixed [ 1 ]
      Hide
      Ralph Goers added a comment -

      As stated above, the Filter and Lookup support in Log4j 2 should address this.

      Show
      Ralph Goers added a comment - As stated above, the Filter and Lookup support in Log4j 2 should address this.
      Hide
      Ralph Goers added a comment -

      If I understand the issue correctly, this can be addressed by using Filters as implemented in my experimental branch. Filters can be global, on a logger or on an appender.

      Show
      Ralph Goers added a comment - If I understand the issue correctly, this can be addressed by using Filters as implemented in my experimental branch. Filters can be global, on a logger or on an appender.
      Curt Arnold created issue -

        People

        • Assignee:
          Ralph Goers
          Reporter:
          Curt Arnold
        • Votes:
          0 Vote for this issue
          Watchers:
          1 Start watching this issue

          Dates

          • Created:
            Updated:
            Resolved:

            Development