Hi Scott

Thanks for taking the idea and promptly implement part a) and it fit's. 

If I get you right, then this is a not yet released version.
So maybe it's time to say what I would see to change as well, 
Because I've found the following, for me not so nice behavior.

Go to Chainsaws File-Menu-Item / Load Chainsaw Configuration
Then in the "Load events into Chainsaw" toggle Radio-Button 
<Use last used/auto-saved configuration from $HOME/.chainsaw-config.xml>

Then press <OK>

You can load the same configuration over and over again and you get i.e. 
examples
multiple times the same "Socket Receivers" shown, and you are unable to remove 
it.
You can remove one type of it, but others of the same type are shown forever.

I think loading a configuration should 
a) close the currently Open Socket Receivers and Free Resources
b) then load and activate from the auto-saved receiver-config.xml the 
configured receivers

But do not configured and add receivers to receivers already in the Receivers 
Pane.
Gues you need to enhance the right-button-context menu to 


The second thing you could potentially fix or enhance is
to save States of Buttons in the "Load events into Chainsaw" Windows.

Save the State of the Don't show this again toggle-button AND
Save Radio-Buttons-State on-<OK> 

If on next open/start of Chainsaw, the Don't show this Button is set and the
$HOME/.chainsaw/receiver-config.xml RB was set - just-loaded this config.xml 
as in 99.9% of cases I do not have a different demand.

If I need to configure something differently, I can still use the
Chainsaws File-Menu-Item / Load Chainsaw Configuration later.


Thanks again for the prompt work.
Kind regards
Josef
 



-----Ursprüngliche Nachricht-----
Von: Scott Deboy [mailto:[email protected]] 
Gesendet: Mittwoch, 4. August 2010 06:24
An: Log4J Users List
Betreff: Re: how to remove loggers from chainsaws logger tree pane

I've committed the enhancement - Chainsaw will now reset the logger tree
when the table of events are cleared (via the trash can icon or
ctrl-backspace).

I've also uploaded a version of Chainsaw (standalone.zip as well as a Mac
DMG app image) with the enhancement to http://people.apache.org/~sdeboy

By the way, the WebStart and standalone versions available from the website
won't contain this feature until this latest version is released..

Thanks for the suggestion, and any further feedback is appreciated.

Scott

On Tue, Aug 3, 2010 at 7:08 AM, Scott Deboy <[email protected]> wrote:

> That feature isn't implemented, but it's a good idea.
>
> I will have the logger tree reset when the events are cleared (ctrl
> backspace or the trash can icon on the toolbar).
>
> Thanks
>
> Scott
>
>
> On Aug 3, 2010, at 2:02 AM, "Stadelmann Josef" <
> [email protected]> wrote:
>
>  Can sombody tell me how to remove loggers no longer needed from the
>> loggers tree pane?
>>
>> a)    Throug a menu item
>> b)    Through a command from the chainsaw client
>>
>> I studied quite a bit of chainsaw code, but don't get clever, (sorry my
>> poor java know-how),
>>
>> So given the message below found in Chainsaw,
>>
>> Message           Adding to Map
>> axawl.spezpla.servers.spezplaservice.spser...@bcc7df783133eca06a12808241
>> 21184
>>
>>
>> what do I have to do "logging-side-like" to tell Chainsaw to remove this
>> logger from the loggers tree panel map!
>>
>> Every long lasting user session creates ist own logger to keep logs on a
>> per user session separate. It works nicely.
>> But once a session is dead, I like to remove the logger from the map
>> controlled by menju or when my web service object destroy is called
>> through a specific call to my logger in chainsaw?
>>
>>
>> Josef Stadelmann
>> @axa-winterthur.ch
>>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to