https://bz.apache.org/bugzilla/show_bug.cgi?id=57891

            Bug ID: 57891
           Summary: UDPAppender stops to send if destination port is
                    unreachable
           Product: Log4j
           Version: 1.2.17
          Hardware: Other
                OS: Linux
            Status: NEW
          Severity: major
          Priority: P2
         Component: Appender
          Assignee: [email protected]
          Reporter: [email protected]

We use the org.apache.log4j.receivers.net.UDPAppender in the follwoing
scenario:
- the log4j extras lib is deployed in a tomcat
- messages are sent over UDP to a remote host
- the remote host runs grafana to record the UDP messages

What is the Problem:
- if we stop grafana, then the UDPAppender gets an IOException with a the
follwoing message: og4j:WARN Detected problem with UDP connection:
java.net.PortUnreachableException: ICMP Port Unreachable
- then the socket is set to null and the UDPAppender stops to send
- when we start grafana then we receive no messages anymore

In our case the UDPAppender shouldn't stop to send if the port of the remote
host is not reachable. And because the server is a production server which
sends the messages we are not able to restart the application everytime we
restart grafana.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to