RE: log4j----Edit the event received

2011-09-22 Thread Konduru, Geetha
chainsaw path. Thank U, VGSS -Original Message- From: Tim Watts [mailto:t...@cliftonfarm.org] Sent: Monday, September 19, 2011 3:49 PM To: Log4J Users List Subject: RE: log4jEdit the event received Are you sure there isn't another log4j config embedded in another jar? Happens

RE: log4j----Edit the event received

2011-09-19 Thread Konduru, Geetha
From: Scott Deboy [mailto:scott.de...@gmail.com] > Sent: Monday, September 19, 2011 2:01 PM > To: Log4J Users List > Subject: Re: log4j----Edit the event received > > Do you have an old DTD in your classpath? > > The log4j.dtd was updated to support 'plugin' back in rev 53

RE: log4j----Edit the event received

2011-09-19 Thread Tim Watts
From: Scott Deboy [mailto:scott.de...@gmail.com] > Sent: Monday, September 19, 2011 2:01 PM > To: Log4J Users List > Subject: Re: log4j----Edit the event received > > Do you have an old DTD in your classpath? > > The log4j.dtd was updated to support 'plugin' back in rev 53

RE: log4j----Edit the event received

2011-09-19 Thread Konduru, Geetha
No, regarding log4j I my classpath is same as chainsaw... -Original Message- From: Scott Deboy [mailto:scott.de...@gmail.com] Sent: Monday, September 19, 2011 2:01 PM To: Log4J Users List Subject: Re: log4jEdit the event received Do you have an old DTD in your classpath? The

Re: log4j----Edit the event received

2011-09-19 Thread Scott Deboy
al Message- > From: Scott Deboy [mailto:scott.de...@gmail.com] > Sent: Monday, September 19, 2011 1:39 PM > To: Log4J Users List > Subject: Re: log4jEdit the event received > > Can you try adding these two lines to the top of your config? > > > > > > Not

RE: log4j----Edit the event received

2011-09-19 Thread Konduru, Geetha
Yes I did that, if I do that than it complaints about tag and ... -Original Message- From: Scott Deboy [mailto:scott.de...@gmail.com] Sent: Monday, September 19, 2011 1:39 PM To: Log4J Users List Subject: Re: log4jEdit the event received Can you try adding these two lines to

Re: log4j----Edit the event received

2011-09-19 Thread Scott Deboy
It looks like parsing is different in chainsaw application from my > Application, my classpath is exactly same. > > > Weird! > > Thank U, > VGSS > -Original Message- > From: Scott Deboy [mailto:scott.de...@gmail.com] > Sent: Monday, September 19, 2011

RE: log4j----Edit the event received

2011-09-19 Thread Konduru, Geetha
19, 2011 1:13 PM To: Log4J Users List Subject: Re: log4jEdit the event received I haven't seen that issue before...you should be able to use any of the configuration files in the test folder: http://svn.apache.org/viewvc/logging/log4j/companions/receivers/trunk/sr c/test/resources/org/apa

Re: log4j----Edit the event received

2011-09-19 Thread Scott Deboy
iteAppender"> > >class="org.apache.log4j.rewrite.PropertyRewritePolicy"> > > > > > > > > > > > > This makes me to think that is chainsaw code responsible for making it > to work

RE: log4j----Edit the event received

2011-09-19 Thread Konduru, Geetha
16, 2011 4:03 PM To: Log4J Users List Subject: Re: log4jEdit the event received In theory then, you should be able to add the entire chainsaw classpath to your application classpath and see it work..yes? On Fri, Sep 16, 2011 at 12:58 PM, Konduru, Geetha wrote: > Just adding to last post

RE: log4j----Edit the event received

2011-09-19 Thread Konduru, Geetha
Would you please mail thetag you used. Thank U, VGSS -Original Message- From: Scott Deboy [mailto:scott.de...@gmail.com] Sent: Friday, September 16, 2011 3:03 PM To: Log4J Users List Subject: Re: log4jEdit the event received I just tried this and it worked fineI

Re: log4j----Edit the event received

2011-09-16 Thread Scott Deboy
on too... > > -Original Message- > From: Konduru, Geetha [mailto:geetha_kond...@medco.com] > Sent: Friday, September 16, 2011 3:26 PM > To: Log4J Users List > Subject: RE: log4j----Edit the event received > > Even for me it is working on chainsaw side. > But if I have th

RE: log4j----Edit the event received

2011-09-16 Thread Konduru, Geetha
Just adding to last post , I am using log4j1.2.16 which is the one used by chainsaw application too... -Original Message- From: Konduru, Geetha [mailto:geetha_kond...@medco.com] Sent: Friday, September 16, 2011 3:26 PM To: Log4J Users List Subject: RE: log4jEdit the event received

RE: log4j----Edit the event received

2011-09-16 Thread Konduru, Geetha
, September 16, 2011 3:03 PM To: Log4J Users List Subject: Re: log4jEdit the event received I just tried this and it worked fineI modified the Chainsaw config file I was using (anything received by Chainsaw can also be sent to appenders defined in the same config)...configuration and example log

Re: log4j----Edit the event received

2011-09-16 Thread Scott Deboy
fine, but assigning > rewritePolicy to a RewriteAppender is failing. > > > > > > Thank U, > > VGSS > > > > -Original Message- > From: Scott Deboy [mailto:scott.de...@gmail.com] > Sent: Friday, September 16, 2011 1:48 PM > To: Log4J Users List >

RE: log4j----Edit the event received

2011-09-16 Thread Konduru, Geetha
Message- From: Scott Deboy [mailto:scott.de...@gmail.com] Sent: Friday, September 16, 2011 1:48 PM To: Log4J Users List Subject: Re: log4jEdit the event received Here is an example from the tests in log4j: http://svn.apache.org/viewvc/logging/log4j/companions/receivers/trunk/sr c/t

Re: log4j----Edit the event received

2011-09-16 Thread Scott Deboy
ha_kond...@medco.com] > Sent: Thursday, September 15, 2011 1:57 PM > To: Log4J Users List > Subject: RE: log4jEdit the event received > > log4j: Trying to find [server2Rewritelog4j.xml] using context > classloader sun.misc.Launcher$AppClassLoader@601bb1. > log4j: Using

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

RE: log4j----Edit the event received

2011-09-15 Thread Konduru, Geetha
g4j.PatternLayout" log4j: Setting property [conversionPattern] to [[%d{ISO8601} %t %c] %m%n]. log4j: Adding appender named [CA] to category [root] -Original Message- From: Scott Deboy [mailto:scott.de...@gmail.com] Sent: Thursday, September 15, 2011 1:54 PM To: Log4J Users List Subject:

Re: log4j----Edit the event received

2011-09-15 Thread Scott Deboy
wrote: > Where can I find XMLschema file for log4j XML configuration file > > > Thank U, > VGSS > > -Original Message- > From: Scott Deboy [mailto:scott.de...@gmail.com] > Sent: Wednesday, September 14, 2011 4:51 PM > To: Log4J Users List > Subject

RE: log4j----Edit the event received

2011-09-15 Thread Konduru, Geetha
Where can I find XMLschema file for log4j XML configuration file Thank U, VGSS -Original Message- From: Scott Deboy [mailto:scott.de...@gmail.com] Sent: Wednesday, September 14, 2011 4:51 PM To: Log4J Users List Subject: Re: log4jEdit the event received Missed the end param on

RE: log4j----Edit the event received

2011-09-15 Thread Konduru, Geetha
h in chainsaw) in my classpath 1.extras 2. receivers 3.components Thanks a Lot VGSS -Original Message- From: Scott Deboy [mailto:scott.de...@gmail.com] Sent: Thursday, September 15, 2011 12:30 PM To: Log4J Users List Subject: Re: log4jEdit the event received

Re: log4j----Edit the event received

2011-09-15 Thread Scott Deboy
ompanion > jar and extra companion jar. > > Thank U, > VGSS > > > -Original Message- > From: Scott Deboy [mailto:scott.de...@gmail.com] > Sent: Wednesday, September 14, 2011 4:50 PM > To: Log4J Users List > Subject: Re: log4jEdit the event received &

RE: log4j----Edit the event received

2011-09-14 Thread Konduru, Geetha
> From: Scott Deboy [mailto:scott.de...@gmail.com] > Sent: Wednesday, September 14, 2011 4:15 PM > To: Log4J Users List > Subject: Re: log4jEdit the event received > > The SocketReceiver adds two properties to each event: > hostname > log4j.remoteSourceInfo > > W

RE: log4j----Edit the event received

2011-09-14 Thread Konduru, Geetha
List Subject: Re: log4jEdit the event received Missed the end param on the nested properties param...not sure about case of RewritePolicy node name..may be rewritePolicy. On Wed, Sep 14, 2011 at 1:48 PM, Konduru, Geetha wrote

Re: log4j----Edit the event received

2011-09-14 Thread Scott Deboy
l Message- > From: Scott Deboy [mailto:scott.de...@gmail.com] > Sent: Wednesday, September 14, 2011 4:31 PM > To: Log4J Users List > Subject: Re: log4jEdit the event received > > remoteSourceInfo contains the connected port: > > hostName = socket.getInetAddress().getHo

Re: log4j----Edit the event received

2011-09-14 Thread Scott Deboy
rom: Scott Deboy [mailto:scott.de...@gmail.com] > Sent: Wednesday, September 14, 2011 4:15 PM > To: Log4J Users List > Subject: Re: log4jEdit the event received > > The SocketReceiver adds two properties to each event: > hostname > log4j.remoteSourceInfo > > With th

RE: log4j----Edit the event received

2011-09-14 Thread Konduru, Geetha
Thank U... -Original Message- From: Scott Deboy [mailto:scott.de...@gmail.com] Sent: Wednesday, September 14, 2011 4:31 PM To: Log4J Users List Subject: Re: log4jEdit the event received remoteSourceInfo contains the connected port: hostName = socket.getInetAddress().getHostName

Re: log4j----Edit the event received

2011-09-14 Thread Scott Deboy
teSourceInfo" different from each > other > > thank U > VGSS > > > -Original Message- > From: Scott Deboy [mailto:scott.de...@gmail.com] > Sent: Wednesday, September 14, 2011 4:15 PM > To: Log4J Users List > Subject: Re: log4jEdit the event recei

RE: log4j----Edit the event received

2011-09-14 Thread Konduru, Geetha
achine, Is there a way to figure out which particular Instance out of 5 instances running on that particular machine. Thank u, VGSS -Original Message- From: Scott Deboy [mailto:scott.de...@gmail.com] Sent: Wednesday, September 14, 2011 4:15 PM To: Log4J Users List Subject: Re: log4j--

RE: log4j----Edit the event received

2011-09-14 Thread Konduru, Geetha
yes, I got them how are "hostname" and " log4j.remoteSourceInfo" different from each other thank U VGSS -Original Message- From: Scott Deboy [mailto:scott.de...@gmail.com] Sent: Wednesday, September 14, 2011 4:15 PM To: Log4J Users List Subject: Re: log

Re: log4j----Edit the event received

2011-09-14 Thread Scott Deboy
The SocketReceiver adds two properties to each event: hostname log4j.remoteSourceInfo With the developer snapshot of Chainsaw you should see those as individual columns in the table. If they aren't displayed by default you can enable them via the tab preferences menu (select Columns). Scott On

log4j----Edit the event received

2011-09-14 Thread Konduru, Geetha
Hi, What I am looking for is, every event received by SocketAppender, even before it send to remote machine, it must append to the event(on which log4j is running). Can any one please tell me a solution for this. Example: if application(running on machine HOSTNAME) logs message "I