LogLog is Log4J's internal error handling. By default it will output errors to stdout/stderr.
It may be disabled by LogLog.setQuietMode(true); The ErrorHandler is for users to specify. By default the OnlyOnceErrorHandler is employed. Another errorHandler may be set on an appender. T Master ----- Original Message ----- From: "JEAN-FRANCOIS DAUNE" <[EMAIL PROTECTED]> To: "'Log4J Users List'" <[EMAIL PROTECTED]> Sent: Wednesday, February 13, 2002 1:37 AM Subject: Use of ErrorHandler in appenders > Hi all, > > does anyone know why the error handler is only used at one place in > SocketAppender (in 'append' method), while there are many calls to > LogLog.error() ? > > In general, in all the Log4J appenders, I don't catch when > LogLog.error/LogLog.warn should be used, and when errorHandler.error() > should. > > My opinion is that using LogLog prevents appenders users to do error > handling, ans so should only be used after appender has been closed. > > Regards, > > Jean-François Daune > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>