You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-dev@logging.apache.org by bu...@apache.org on 2006/02/20 12:52:07 UTC

DO NOT REPLY [Bug 38717] New: - Application wide config chainsaw.xml overwritten when Tab Identifier = PROP.hostname

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=38717>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=38717

           Summary: Application wide config chainsaw.xml overwritten when
                    Tab Identifier = PROP.hostname
           Product: Log4j
           Version: 1.2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: minor
          Priority: P4
         Component: chainsaw
        AssignedTo: log4j-dev@logging.apache.org
        ReportedBy: simon@baltovic.com


We use chainsaw to monitor various application across different servers, and to
help organise this visually we set the "Application-wide Preferences" -> "Tab
identifier" to "PROP.hostname". This allows us to arbitrarily group log messages
onto the same tab.

The problem here is that Chainsaw messages are then sent to a tab called
"Chainsaw", which then creates the config files "Chainsaw.colors",
"Chainsaw.properties" and "Chainsaw.xml". The last filename conflicts with the
application wide config file of the same name.

Depending on whether or not a user has applied layout changes to the "Chainsaw"
tab, and on which file is written to last when closing chainsaw, the application
wide file may or may not be overwritten with the Tab config file.

To remedy this, we've set the "Tab identifier" to "PROP.hostname -", but it's
kind of a messy solution. Would it not make more sense to name the global xml
config file to something more specific ie; chainsaw.settings.xml to match the
name of the properties file for instance?

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org


DO NOT REPLY [Bug 38717] - Application wide config chainsaw.xml overwritten when Tab Identifier = PROP.hostname

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=38717>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=38717


sdeboy@iname.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED




------- Additional Comments From sdeboy@iname.com  2006-02-20 15:39 -------
I'll make the suggested change.

There is one drawback to this change which affects existing Chainsaw users -
their global settings won't be loaded (loaded config file, tab identifier, etc)
- they'll have to re-apply their changes.

They recently had to go through this when we started to use Xstream to load most
Chainsaw settings - and Chainsaw is still alpha (2 years now?), so not much harm
done, just a bit annoying.

I'll add a note in the release notes when I make the change.




-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org


DO NOT REPLY [Bug 38717] - Application wide config chainsaw.xml overwritten when Tab Identifier = PROP.hostname

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=38717>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=38717


sdeboy@iname.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED




------- Additional Comments From sdeboy@iname.com  2006-02-20 16:29 -------
Committed - will show up in the Web Start build/bundle/Mac dmg image at some
point in the near future (after a few unrelated fixes/enhancements are made).

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org