-
Notifications
You must be signed in to change notification settings - Fork 102
Delay UDP connect until first log event emission #293
Comments
Can you get hold of the stack trace for the |
If I disable all network adapters then rise exception. But how to get stacktrace? |
The exception is truncated at |
Hello! |
This is an assumption that varies across projects. Logback has a lifecycle mechanism to start and stop individual appenders. If the orchestrating system would consider these means properly and leave failed appenders as is, then you would not have that kind of issue. |
Similar to the TCP sender, we can delay the connect of the UDP sender until receiving the first log event. |
v1.15.0
If network is absent and level has value OFF then rise java.net.SocketException: Network is unreachable: connect
(1.14.1 all work fine)
logback.xml:
Error:
The text was updated successfully, but these errors were encountered: