Uploaded image for project: 'XNIO'
  1. XNIO
  2. XNIO-386

XNIO001009 logging does not include a stack trace

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 3.8.5.Final
    • 3.8.4.Final
    • None
    • None

      Currently the logging statement interpolates an IOException string value into the log message rather than including the message as a @Cause to record the full stack trace.

      https://github.com/xnio/xnio/blob/c413543666fca14082bbe45aa2ae51405ac212d4/api/src/main/java/org/xnio/_private/Messages.java#L339-L341

      I believe it would be more correct to include the full stack trace.

      The following 1010 log line appears to suffer from a similar issue:
      https://github.com/xnio/xnio/blob/c413543666fca14082bbe45aa2ae51405ac212d4/api/src/main/java/org/xnio/_private/Messages.java#L343-L345

            flaviarnn Flavia Rainone
            carterkozak Carter Kozak
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: