Re: log4j----Edit the event received

2011-09-16 Thread Scott Deboy
apache.log4j.rewrite.PropertyRewritePolicy"> > > > > > > > > > > And here is an example output line: > DEBUG Unknown - p1:Hello p2:World 20110916 09:16:16.870 NOTICE RI- > RI.DRI > FATAL ERROR WARNING INFO &g

RE: log4j----Edit the event received

2011-09-16 Thread Konduru, Geetha
file output below: Here's what I added to the Chainsaw config file: And here is an example output line: DEBUG Unknown - p1:Hello p2:World 20110916 09:16:16.870 NOTICE

RE: log4j----Edit the event received

2011-09-16 Thread Konduru, Geetha
file output below: Here's what I added to the Chainsaw config file: And here is an example output line: DEBUG Unknown - p1:Hello p2:World 20110916 09:16:16.870 NOTICE

Re: log4j----Edit the event received

2011-09-16 Thread Scott Deboy
file: And here is an example output line: DEBUG Unknown - p1:Hello p2:World 20110916 09:16:16.870 NOTICE RI- RI.DRI FATAL ERROR WARNING INFO On Fri, Sep 16, 2011 at 11:01 AM, Konduru, G

RE: log4j----Edit the event received

2011-09-16 Thread Konduru, Geetha
I tried this, its not working, following are warnings I get log4j:WARN Continuable parsing error 48 and column 80 log4j:WARN Element type "rewritePolicy" must be declared. log4j:WARN Continuable parsing error 52 and column 14 log4j:WARN The content of element type "appender" must match "(

Re: log4j----Edit the event received

2011-09-16 Thread Scott Deboy
Here is an example from the tests in log4j: http://svn.apache.org/viewvc/logging/log4j/companions/receivers/trunk/src/test/resources/org/apache/log4j/rewrite/property.xml?view=markup&pathrev=564831

RE: log4j----Edit the event received

2011-09-16 Thread Konduru, Geetha
Would any one please give an example of xml configuration file with Rewrite Appender. Thank U, Vgss -Original Message- From: Konduru, Geetha [mailto:geetha_kond...@medco.com] Sent: Thursday, September 15, 2011 1:57 PM To: Log4J Users List Subject: RE: log4jEdit the event received lo

Performance with SocketAppender

2011-09-16 Thread Nickolai Bogdatov
I have big program (Producer) which generates tons of log4j logs. In log4j.properties I have 2 Appenders - RollingFileAppender (for logging to file) - SocketAppender (for remote debugging) When I run Producer and generate 200K log test messages it finishes in 45 sec Now I wrote small Java program