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

      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.
      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.

        People

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

          Dates

          • Created:
            Updated:
            Resolved:

            Development