Are you running Chainsaw on a recent JVM?  Some of the new features
(multi-line wrapping, bolding of search matches) required some more
heavy-duty Swing features that may be exposing bugs in earlier VMs..

Scott

On Wed, Sep 14, 2011 at 12:57 PM, Scott Deboy <[email protected]> wrote:

> Please send the output of jstack..
>
> Thanks
>
>
> On Wed, Sep 14, 2011 at 12:36 PM, Konduru, Geetha <
> [email protected]> wrote:
>
>> Sorry I see this issue again, say if the issue is environment specific
>> than I should see with other version of chainsaw also(the one I
>> downloaded from " http://logging.apache.org/chainsaw/download.html";)  I
>> see this isuue only with chain saw downloaded from
>> http://people.apache.org/~sdeboy
>>
>>
>>
>> thank U,
>> vgss
>> -----Original Message-----
>> From: Konduru, Geetha [mailto:[email protected]]
>> Sent: Wednesday, September 14, 2011 3:11 PM
>> To: Log4J Users List
>> Subject: RE: Chain saw socket appender
>>
>> Its working now....!!!!!!!
>>
>> I just closed all applications and just started the application I need
>> for this testing than it worked. May be a memory issue.
>>
>>
>> Thanks a lot,
>> VGSS
>>
>>
>> -----Original Message-----
>> From: Scott Deboy [mailto:[email protected]]
>> Sent: Wednesday, September 14, 2011 12:42 PM
>> To: Log4J Users List
>> Subject: Re: Chain saw socket appender
>>
>> I have never seen thisproblem, so I'm wondering if you're hitting
>> something
>> specific to your environment.
>>
>> Chainsaw loads all events into memory.  It does use a cyclic buffer by
>> default (can be turned off), but that could be using a lot of CPU.  Do
>> you
>> see a deadlock or are you CPU pegged?  Or maybe you're in swap because
>> Chainsaw allocates a good amount of memory by default.  Can you check
>> your
>> OS to see if you are in swap?
>>
>> If you are deadlocked (no cpu) could you provide the output of jstack?
>>
>> If it is cpu pegged, you can change the shell script to allocate more
>> memory
>> to the JVM.
>>
>> Chainsaw relies on log4j and component, extras and receivers companions.
>>
>> Sources can be found here, built with maven.
>>
>> http://logging.apache.org/chainsaw/source-repository.html
>> http://logging.apache.org/log4j/1.2/source-repository.html
>> http://logging.apache.org/log4j/companions/component/source-repository.h
>> tml
>> http://logging.apache.org/log4j/companions/extras/index.html
>> http://logging.apache.org/log4j/companions/receivers/source-repository.h
>> tml
>>
>>
>> On Wed, Sep 14, 2011 at 9:31 AM, Konduru, Geetha
>> <[email protected]>wrote:
>>
>> > 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]
>> >
>> >
>>
>> **********************************************************************
>> 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]
>>
>> **********************************************************************
>> 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]
>>
>>
>

Reply via email to