Exceptions in activateOptions

2006-08-22 Thread Robert Fischer
Hello, i'm developing a Plugin for log4j version 1.3, but i'm not sure whats the "right way" to handle exceptions in the activateOptions() method. Currently my code is as follows: class MyPlugin extends PluginSkeleton {   ...   public void activateOptions() {     try {       [ ...do something..

Re: blocking append() or not?

2006-03-15 Thread Robert Fischer
On Wednesday 15 March 2006 19:40, Curt Arnold wrote: > I hope to have a rework of AsyncAppender committed into the SVN > today. [..] However, I think it would be best practice is to write > blocking appenders and use AsyncAppender to provide a consistent > async layer above it. Ok, thanks for th

blocking append() or not?

2006-03-15 Thread Robert Fischer
Hi, i'm developing a custom appender/receiver for the current SVN version of log4j. My problem is that establishing a connection to the remote server is quite time consuming, so the user has to wait a few seconds before sending a LoggingEvent. I've separated the connection process into a new th