logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Smith <paul.sm...@lawlex.com.au>
Subject Re: how to use sawchain2?
Date Fri, 06 Feb 2004 21:45:04 GMT
> One strange thing I experienced is that this:
> 
>   org.apache.log4j.chainsaw.ApplicationPreferenceModel model = new 
> org.apache.log4j.chainsaw.ApplicationPreferenceModel();
> 
> org.apache.log4j.chainsaw.LogUI.createChainsawGUI(model,null);
> 
> gives me a
> 
> java.lang.IllegalArgumentException: timeout value is negative
> 
> 	at java.lang.Object.wait(Native Method)
> 
> 	at 
> org.apache.log4j.chainsaw.ChainsawAppenderHandler$WorkQueue$WorkerThread.run(Unknown

> Source)
> 

Sounds like the default value of that property in the
ApplicationPreferenceModel is not set correctly.  You have correctly
worked out to use the SettingsManager to configure it with the defaults.

> Does there exist Hello World sourcecode that uses Chainsaw as a 
> loggerviewer that I could get?

Unfortunately there is not at this stage, I think your's might be the
first one! 

cheers, 

Paul Smith


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


Mime
View raw message