1. Thank u, The Chainsaw opens up as expected, but afterwards it is not responding to commands, like I am trying to use "Refine Focus On" that does not work, even to stop this I need to go to TASK MANAGER, Application is not responding.
2. Would you please tell me where to download the src code of latest version. Thanks a lot, vgss -----Original Message----- From: Scott Deboy [mailto:[email protected]] Sent: Wednesday, September 14, 2011 11:26 AM To: Log4J Users List Subject: Re: Chain saw socket appender Which version of Chainsaw are you using? If you aren't already using it, could you try the latest developer snapshot (Mac DMG or tarball) available from here: http://people.apache.org/~sdeboy Scott On Wed, Sep 14, 2011 at 8:13 AM, Konduru, Geetha <[email protected]>wrote: > I am using Log4j.1.2.16, > > > > I could say that on Appender side the following tag > > <param name="Application" value="app1" /> > > > > or > > <param name="application" value="app1" /> > > > > > > Are read successfully by log4j process because when I used > following(just for testing) > > <param name="pplication" value="app1" /> > > > > I got following WARNING MESSAGE, > > > > > > log4j:WARN No such property [pplication] in > org.apache.log4j.net.SocketAppender. > > > > -----Original Message----- > From: Scott Deboy [mailto:[email protected]] > Sent: Wednesday, September 14, 2011 11:06 AM > To: Log4J Users List > Subject: Re: Chain saw socket appender > > > > Can you confirm the version of log4j you are using on the appender side? > > > > > > > > On Sep 14, 2011, at 7:48 AM, "Konduru, Geetha" > > <[email protected]> wrote: > > > > > I tried using "application" instead of "Application" but still I get > > > the > > > tab name as "localhost- " only. > > > > > > Thank u, > > > vgss > > > > > > -----Original Message----- > > > From: Scott Deboy [mailto:[email protected]] > > > Sent: Wednesday, September 14, 2011 10:37 AM > > > To: Log4J Users List > > > Subject: Re: Chain saw socket appender > > > > > > Try application instead of Application. > > > > > > > > > > > > On Sep 14, 2011, at 7:29 AM, "Konduru, Geetha" > > > <[email protected]> wrote: > > > > > >> Sorry, it is not working for me... > > >> > > >> Case1:-I used exactly following configuration, > > >> > > >> <appender name="SOCKET1" class="org.apache.log4j.net.SocketAppender"> > > >> <param name="Port" value="12346"/> > > >> <param name="RemoteHost" value="localhost"/> > > >> <param name="Application" value="app1"/> > > >> <param name="ReconnectionDelay" value="60000"/> > > >> <param name="Threshold" value="ALL"/> > > >> </appender> > > >> > > >> On chainsaw I used following configuration > > >> > > >> <plugin name="MyReceiver1" > > >> class="org.apache.log4j.net.SocketReceiver"> > > >> <param name="Port" value="12346"/> > > >> <param name="Threshold" value="ALL"/> > > >> </plugin> > > >> > > >> > > >> In chainsaw I see a tab with name "localhost- ",not "localhost-app1" > > >> > > >> > > >> > > >> Case 2:- > > >> > > >> One instance of an application is running with following > > >> configuration. > > >> <appender name="SOCKET1" class="org.apache.log4j.net.SocketAppender"> > > >> <param name="Port" value="12346"/> > > >> <param name="RemoteHost" value="localhost"/> > > >> <param name="Application" value="app1"/> > > >> <param name="ReconnectionDelay" value="60000"/> > > >> <param name="Threshold" value="ALL"/> > > >> </appender> > > >> > > >> > > >> Second instance of same application is running with following > > >> configuration > > >> > > >> > > >> <appender name="SOCKET2" class="org.apache.log4j.net.SocketAppender"> > > >> <param name="Port" value="12346"/> > > >> <param name="RemoteHost" value="localhost"/> > > >> <param name="Application" value="app2"/> > > >> <param name="ReconnectionDelay" value="60000"/> > > >> <param name="Threshold" value="ALL"/> > > >> </appender> > > >> > > >> > > >> On chainsaw I used following configuration > > >> > > >> <plugin name="MyReceiver1" > > >> class="org.apache.log4j.net.SocketReceiver"> > > >> <param name="Port" value="12346"/> > > >> <param name="Threshold" value="ALL"/> > > >> </plugin> > > >> > > >> > > >> STILL I see one tab with name "localhost- " and loggingevents from > > >> two > > >> different Process are shown in one tab. > > >> > > >> > > >> > > >> Would you please tell me as where I am going wrong. > > >> > > >> > > >> Thanks a lot, > > >> VGSS > > >> > > >> > > >> > > >> > > >> -----Original Message----- > > >> From: Scott Deboy [mailto:[email protected]] > > >> Sent: Wednesday, September 14, 2011 1:54 AM > > >> To: Log4J Users List > > >> Subject: Re: Chain saw socket appender > > >> > > >> Since log4j 1.2.15, the socket-based appenders have an 'application' > > >> parameter that can be set which will result in an additional > > >> application > > >> property being set on each event, which will then be used by > > >> Chainsaw to > > >> route events to the correct tab. > > >> > > >> The following example will result in events being routed to a tab > > >> called > > >> 'localhost-app1': > > >> > > >> <appender name="SOCKET1" class="org.apache.log4j.net.SocketAppender"> > > >> <param name="Port" value="12346"/> > > >> <param name="RemoteHost" value="localhost"/> > > >> <param name="Application" value="app1"/> > > >> <param name="ReconnectionDelay" value="60000"/> > > >> <param name="Threshold" value="ALL"/> > > >> </appender> > > >> > > >> By default, events are routed to tabs by resolving the hostname and > > >> application event properties. The tab/name event routing expression > > >> is > > >> configurable via the application-wide preferences dialog. > > >> > > >> Scott > > >> > > >> > > >> On Tue, Sep 13, 2011 at 6:22 AM, Konduru, Geetha > > >> <[email protected]>wrote: > > >> > > >>> Hi, > > >>> > > >>> > > >>> > > >>> > > >>> > > >>> 1. Following is how my SocketAppender configured. > > >>> > > >>> > > >>> > > >>> > > >>> > > >>> <appender name="SOCKET1" > > >>> class="org.apache.log4j.net.SocketAppender"> > > >>> > > >>> <param name="Port" value="12346"/> > > >>> > > >>> <param name="RemoteHost" value="localhost"/> > > >>> > > >>> <param name="ReconnectionDelay" value="60000"/> > > >>> > > >>> <param name="Threshold" value="ALL"/> > > >>> > > >>> </appender> > > >>> > > >>> > > >>> > > >>> > > >>> > > >>> > > >>> > > >>> 2. Following is how my SocketReceiver is configured. > > >>> > > >>> > > >>> > > >>> > > >>> > > >>> <plugin name="MyReceiver1" > > >>> class="org.apache.log4j.net.SocketReceiver"> > > >>> > > >>> < <param name="Port" value="12346" /> > > >>> > > >>> < <param name="name" value="Server-1" /> > > >>> > > >>> < <param name="Threshold" value="ALL" /> > > >>> > > >>> </plugin> > > >>> > > >>> > > >>> > > >>> > > >>> > > >>> By this in chainsaw I am getting a Tabbed Pane with > > >>> name as "localhost-", but what I am looking for is a Tabbed Pane > > >>> with > > >>> name "localhost-AppName". > > >>> > > >>> > > >>> > > >>> Please let me know what changes should I do to get, Tabbed Pane name > > >> as > > >>> "localhost-AppName". > > >>> > > >>> > > >>> > > >>> > > >>> > > >>> > > >>> > > >>> Thank U, > > >>> > > >>> vgss > > >>> > > >>> *** > > >>> ******************************************************************* > > >>> This e-mail message and any attachments contain confidential > > >> information > > >>> from Medco. If you are not the intended recipient, you are hereby > > >> notified > > >>> that disclosure, printing, copying, distribution, or the taking of > > >>> any > > >>> action in reliance on the contents of this electronic information is > > >>> strictly prohibited. If you have received this e-mail message in > > >> error, > > >>> please immediately notify the sender by reply message and then > > >>> delete > > >> the > > >>> electronic message and any attachments. > > >>> > > >> > > >> *** > > >> ******************************************************************* > > >> This e-mail message and any attachments contain confidential > > >> information from Medco. If you are not the intended recipient, you > > >> are hereby notified that disclosure, printing, copying, > > >> distribution, or the taking of any action in reliance on the > > >> contents of this electronic information is strictly prohibited. If > > >> you have received this e-mail message in error, please immediately > > >> notify the sender by reply message and then delete the electronic > > >> message and any attachments. > > >> > > >> --------------------------------------------------------------------- > > >> To unsubscribe, e-mail: [email protected] > > >> For additional commands, e-mail: [email protected] > > >> > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: [email protected] > > > For additional commands, e-mail: [email protected] > > > > > > ********************************************************************** > > > This e-mail message and any attachments contain confidential > > > information from Medco. If you are not the intended recipient, you > > > are hereby notified that disclosure, printing, copying, > > > distribution, or the taking of any action in reliance on the > > > contents of this electronic information is strictly prohibited. If > > > you have received this e-mail message in error, please immediately > > > notify the sender by reply message and then delete the electronic > > > message and any attachments. > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: [email protected] > > > For additional commands, e-mail: [email protected] > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [email protected] > > For additional commands, e-mail: [email protected] > > > > ********************************************************************** > This e-mail message and any attachments contain confidential information > from Medco. If you are not the intended recipient, you are hereby notified > that disclosure, printing, copying, distribution, or the taking of any > action in reliance on the contents of this electronic information is > strictly prohibited. If you have received this e-mail message in error, > please immediately notify the sender by reply message and then delete the > electronic message and any attachments. > ********************************************************************** This e-mail message and any attachments contain confidential information from Medco. If you are not the intended recipient, you are hereby notified that disclosure, printing, copying, distribution, or the taking of any action in reliance on the contents of this electronic information is strictly prohibited. If you have received this e-mail message in error, please immediately notify the sender by reply message and then delete the electronic message and any attachments. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
