logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexey Vorobiev <alexey_voro...@trustec.ru>
Subject Re: Help with LogFilePatternReceiver
Date Tue, 14 Feb 2006 13:33:50 GMT
There is no way i can change config files for the 
application.
I've written the program to parse log file using 
logfilepatternreciever
  but how can I get the log records from it?
Where are they stored during parsing?

Thanks in advance.


On Mon, 13 Feb 2006 07:02:46 -0800
  "Scott Deboy" <sdeboy@comotivsystems.com> wrote:
> Can you modify the app's log4j config file?  If so, add 
>a database appender to it.
> 
> If not, yes, you can specify both a 
>logfilepatternreceive  and a database appender in the 
>same config file.
> 
> 
> Scott Deboy
> COMOTIV SYSTEMS
> 111 SW Columbia Street Ste. 950
> Portland, OR  97201
> 
> Telephone:      503.224.7496
> Cell:           503.997.1367
>Fax:            503.222.0185
> 
> sdeboy@comotivsystems.com
> 
> www.comotivsystems.com
> 
> 
> 
> -----Original Message-----
>From: Alexey Vorobiev [mailto:alexey_vorobev@trustec.ru]
> Sent: Mon 2/13/2006 5:47 AM
> To: log4j-user@logging.apache.org
> Subject:  Help with LogFilePatternReceiver 
> 
> Hello,
> 
> Could someone help me please?
> 
> I need to parse log files with my program and insert 
> filtered rows to the Database. I don't have access to 
>the 
> program that writes this logs but it is using log4j and 
>i 
> know the format. Is it possible to use 
> LogFilePatternReceiver to read information from this log 
> file?
> Could someone provide example on how to get events data?
> 
> Thanks in advance.
> 
> With Regards,
> Alexey Vorobiev
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: 
>log4j-user-unsubscribe@logging.apache.org
>For additional commands, e-mail: 
>log4j-user-help@logging.apache.org
> 
> 
> 

With Regards,
Alexey Vorobiev

Tel: +7 (095) 1045136

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-user-help@logging.apache.org


Mime
View raw message