Is there any way to do this programatically? I tried to create a patch that would do this upon reading an entry in the xml configuration file, which is read by the receiver class as mentioned in earlier thread. However, i canot find the correct code that would do this. The closest i came to was at LogPanelPreferencePanel, where i experimented with a new method that would do a getModel().toggleColumn(ColumnName). However, the effects does not seems to take place.
Probably someone here can give me a hint? Rdgs, jax --- Scott Deboy <[EMAIL PROTECTED]> wrote: > - Select a tab > - Select the 'current tab, log panel preferences' > menu > - Select 'columns' in the list on the left > - Double-click on a column name in the list on the > right to de-select the column or > (selected=displayed, unselected=hidden) > > Settings are saved and loaded automatically per-tab. > > Currently you can't hide columns holding MDC entries > (event properties). > > Scott > > > -----Original Message----- > From: Tan Kah Siong [mailto:[EMAIL PROTECTED] > Sent: Tue 9/6/2005 5:54 AM > To: log4j-user@logging.apache.org > Subject: Chainsaw - Disable columns > > Hi, i am using customised versions of > customsqldbreceiver and logfilexmlreceiver classes > to > load my database logs and xml logs respectively. > > I noted that these classes do not utilise the fields > which Chainsaw displays by default. > > LOGGER, TIMESTAMP, LEVEL, THREAD, MESSAGE, NDC, > THROWABLE, CLASS, METHOD, FILE, LINE, ID > > Is there anyway to hide these columns upon the > loading > of these receivers? > > Eg: The db log is loaded in a single tab, but the > columns mentioned above should not load. I do not > wish > to manually set this in the preference after > loading. > > Please advice. > > > > > ______________________________________________________ > Click here to donate to the Hurricane Katrina relief > effort. > http://store.yahoo.com/redcross-donate3/ > > --------------------------------------------------------------------- > 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] ______________________________________________________ Click here to donate to the Hurricane Katrina relief effort. http://store.yahoo.com/redcross-donate3/ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]