Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id AE7C1200CFC for ; Thu, 14 Sep 2017 00:14:31 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id AD3431609CB; Wed, 13 Sep 2017 22:14:31 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id F321A1609CA for ; Thu, 14 Sep 2017 00:14:30 +0200 (CEST) Received: (qmail 16207 invoked by uid 500); 13 Sep 2017 22:14:29 -0000 Mailing-List: contact log4j-user-help@logging.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Log4J Users List" Reply-To: "Log4J Users List" Delivered-To: mailing list log4j-user@logging.apache.org Received: (qmail 16196 invoked by uid 99); 13 Sep 2017 22:14:29 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Sep 2017 22:14:29 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 6240E1A3241 for ; Wed, 13 Sep 2017 22:14:29 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.379 X-Spam-Level: X-Spam-Status: No, score=0.379 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_SORBS_SPAM=0.5, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id eGyxfqGCkSzx for ; Wed, 13 Sep 2017 22:14:28 +0000 (UTC) Received: from mail-lf0-f48.google.com (mail-lf0-f48.google.com [209.85.215.48]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id 22D5F5F6C8 for ; Wed, 13 Sep 2017 22:14:28 +0000 (UTC) Received: by mail-lf0-f48.google.com with SMTP id 80so4066070lfy.4 for ; Wed, 13 Sep 2017 15:14:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=9/65k0Ccrc5+3LoR8ylSZN/Zs3mfV/VNT85GVcjf0cM=; b=l5wHgcF98OOD3iMLtMg5121bnDOAKjpzrUEfwtii17BJlDsjjmUzGPD9NFaeFl/PIo 6oLGxw1UT8zv2FmZmlZog4RHDVT3VPOElkIPwijli/jGTjLCVSkoA7QTRFYiohoH8hFL FzVgxDjRhlhsqmgj1J3pq6T1X8D5pRaejweG3NfwTJIXFABcY2Q9oODnXdj5OVi4yLIl a6kmjLs0j0I1O1nD/bxa0SxQ8ZMpYYrS9v3ZXeix8H95uvme5/F460WV3JM6/qGGvq/s xGWpzNltbYVlLswiP07wBVTqc1ohOKy/UldEQfpU4GW1HKQkmZ/cEOs2MC/Yv/nUTaU/ RNMQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=9/65k0Ccrc5+3LoR8ylSZN/Zs3mfV/VNT85GVcjf0cM=; b=aHtVQHAQ2rq97JK7Fzy6tdnQb9hvZpY1naX5QOcxn9NEZz2L6ZsYqf+9vRve9gx7fw 4OmiCqBu+6B2GXLOzPxJS0CCUKa/AMZJSfj0EGFqEOfTSaplRZZGHopqpeRH2ZrreBde +EYU9Xmij+3jvgpam3QxNGey/UZ7g667Sv/AGo9S7LI79DVMr/9oNYDWDLsZtxOAsIS6 rnSDmOAZ5dpv2+7V/xcSI8zOXh+JZny9y731XZejnBc7budLuC8mAoKRVeW+YbTZh1ZK LIsBsd7/lCBN+A4S9DN18viXK6vIw1b+5HfvsklnIua7x8CbTeMjLMDriS59rbMr3Sqx C3dQ== X-Gm-Message-State: AHPjjUgDzUkdI8eTh3IMbvZNzpNJ2mLV1YovmNMHmAeAuvMGjrksXHkg PkgtNePiqwXWiaLU/Qi5RvhqvuadNgWGqs2t+poYAw== X-Google-Smtp-Source: AOwi7QCpGV2lcJWwRVX23KkUjlbQkne1hL7uNvh89lXWpw522pEVtQHlTh80PATRLgcwiCEc7P3jklecnI1/hhL4oO8= X-Received: by 10.46.25.23 with SMTP id p23mr2064324lje.37.1505340867144; Wed, 13 Sep 2017 15:14:27 -0700 (PDT) MIME-Version: 1.0 Received: by 10.25.152.11 with HTTP; Wed, 13 Sep 2017 15:14:26 -0700 (PDT) From: Sean McCauliff Date: Wed, 13 Sep 2017 15:14:26 -0700 Message-ID: Subject: Logging previous messages based on current messages? To: log4j-user@logging.apache.org Content-Type: text/plain; charset="UTF-8" archived-at: Wed, 13 Sep 2017 22:14:31 -0000 What I would like to do is to have some kind of filter that will filter log messages less than ERROR, but when an ERROR happens I would like the previous N messages emitted to the log. Is there a way to do that? If not then what would be the steps to implement that functionality? Thanks, Sean --------------------------------------------------------------------- To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org For additional commands, e-mail: log4j-user-help@logging.apache.org