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=43637>. 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=43637 Summary: SocketAppender.append(LoggingEvent) calls the ErrorHandler without the LoggingEvent as parameter Product: Log4j Version: 1.2 Platform: Other OS/Version: All Status: NEW Severity: normal Priority: P2 Component: Appender AssignedTo: [email protected] ReportedBy: [EMAIL PROTECTED] In the Method SocketAppender.append(LoggingEvent) the errorHandler is called without the LoggingEvent. In the case of an error, the LoggingEvent is lost. There are two places to fix the problem: - errorHandler.error("No remote host is set for SocketAppender named \""+ this.name+"\".", null, ErrorCode.GENERIC_FAILURE, event); - errorHandler.error("Detected problem with connection, not reconnecting.", e, ErrorCode.GENERIC_FAILURE, event); -- 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
