vy commented on issue #3577: URL: https://github.com/apache/logging-log4j2/issues/3577#issuecomment-2757420315
@voddan, judging from your earlier tickets on customizing the Status Logger behavior, and then here asking for how to disable the status logger, IMHO, you're trying to fix the wrong thing. There is a network connectivity issue, and your appender is reporting its failing state – this is all normal. I assume, in an ideal environment network connectivity should be pretty stable. If in your environment it is not, you might consider introducing a [Failover Appender](https://logging.apache.org/log4j/2.x/manual/appenders/delegating.html#FailoverAppender). This said, the Socket Appender (i.e., `AbstractOutputStreamAppender`) will still dump the `Unable to write to stream` to the status logger anyway. I think we can indeed improve there. Instead of `log + throw` (which is the case right now), we can switch the behavior to just `throw`. @ppkarwasz, WDYT? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: notifications-unsubscr...@logging.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org