On Jan 17, 2008, at 11:07 PM, Ron Grabowski wrote:
- Original Message
From: d s <[EMAIL PROTECTED]>
To: [email protected]
Sent: Wednesday, January 16, 2008 11:24:40 PM
Subject: Conversion pattern reverse engine
Hi
I wonder if anyone can help me with this.
I have
17:33 PM
Subject: Re: Conversion pattern reverse engine
Thanks Ron for the advice :)
but my mistake, I must have not explain it clearly.
Is it possible to map the pattern in log4net configuration to the log file?
Cheers,
- Original Message
From: Ron Grabowski <[EMAIL PROTECTED]>
:59 PM
Subject: Re: Conversion pattern reverse engine
Read the file in and call Split on each line or use a regular expression to
extract what you need. If you know you're going to be extracting data from the
log file you might want to use a different pattern:
%H|%d|%c{1}|%5p|%m|%F{1}|
acter.
- Original Message
From: d s <[EMAIL PROTECTED]>
To: [email protected]
Sent: Wednesday, January 16, 2008 11:24:40 PM
Subject: Conversion pattern reverse engine
Hi
I wonder if anyone can help me with this.
I have a log file and the conversion pattern. [%H %d] %c{1} %5p
Hi
I wonder if anyone can help me with this.
I have a log file and the conversion pattern. [%H %d] %c{1} %5p: %m
(%F{1}:%L)%n
is it possible to extract the log file and get certain field , for
example I would like to get "%d" from the log file.
If it does, does anyone can give me a bit of exam