Return-Path: Delivered-To: apmail-logging-log4j-user-archive@www.apache.org Received: (qmail 78857 invoked from network); 10 Oct 2005 13:24:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 10 Oct 2005 13:24:06 -0000 Received: (qmail 7676 invoked by uid 500); 10 Oct 2005 13:24:01 -0000 Delivered-To: apmail-logging-log4j-user-archive@logging.apache.org Received: (qmail 7654 invoked by uid 500); 10 Oct 2005 13:24:01 -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 7643 invoked by uid 99); 10 Oct 2005 13:24:01 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Oct 2005 06:24:01 -0700 X-ASF-Spam-Status: No, hits=1.6 required=10.0 tests=RCVD_BY_IP,RCVD_NUMERIC_HELO,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of jak-log4j-user@m.gmane.org designates 80.91.229.2 as permitted sender) Received: from [80.91.229.2] (HELO ciao.gmane.org) (80.91.229.2) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Oct 2005 06:24:03 -0700 Received: from root by ciao.gmane.org with local (Exim 4.43) id 1EOxa0-0004jP-Q7 for log4j-user@logging.apache.org; Mon, 10 Oct 2005 15:20:36 +0200 Received: from 217.71.230.212 ([217.71.230.212]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 10 Oct 2005 15:20:36 +0200 Received: from johnbanks by 217.71.230.212 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 10 Oct 2005 15:20:36 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: log4j-user@logging.apache.org From: John Banks Subject: Re: Reading events Date: Mon, 10 Oct 2005 11:10:21 +0000 (UTC) Lines: 22 Message-ID: References: <9BF54A52E1DFD311BC1000D0B73EADFE0BABD41C@bell.logica.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: main.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 217.71.230.212 (Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20050922 Fedora/1.0.7-1.1.fc3 Firefox/1.0.7) Sender: news X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Nijjhar, Baljeet logicacmg.com> writes: > > Hi > Does anyone know if there are any methods to read back a log record once it > has been written to an appender? In general, does anyone have any bright > ideas for being able to store logs in a persistent store such that they can > be read back as objects (LoggingEvents or whatever), and therefore be able > to be manipulated according to certain crieria (e.g. check their timestamps > so that you only retrieve ones within a certain range)? I'm trying to avoid > the overhead of creating a database for logging and reading log records > from, but it doens't seem that you can read the records back that you've > written using log4j. > Thanks, Baljeet Nijjhar > Are we talking about reading events or Reading events here? It's clear enough when you say it out loud, but if you write it down then I only have the initial capital to go on. john --------------------------------------------------------------------- To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org For additional commands, e-mail: log4j-user-help@logging.apache.org