Details
-
Improvement
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
1.14.0
-
None
-
None
Description
NiFi 1.14.0 included improvements to bulletin log messages that incorporated the Java Exception class and message for each cause in the stack trace.
The current implementation lists the root cause first and the direct cause last, with each cause associated as follows:
java.net.ConnectionException: Connection refued - causes: com.exceptionfactory.socketbroker.BrokeredConnectException: Proxy Address connection failed - causes: org.apache.nifi.processors.standard.socket.ClientConnectException: SSH Client connection failed
Although this approach is technically correct, it does not follow the standard Java logging convention where the direct cause is listed first and the root cause is listed last. The order should be reversed so that the log output reads as follows:
org.apache.nifi.processors.standard.socket.ClientConnectException: SSH Client connection failed - Caused by: com.exceptionfactory.socketbroker.BrokeredConnectException: Proxy Address connection failed - Caused by: java.net.ConnectionException: Connection refued
Attachments
Issue Links
- is related to
-
NIFI-4344 Improve bulletin messaging with exception details
-
- Resolved
-
- links to