nio_uring icon indicating copy to clipboard operation
nio_uring copied to clipboard

Remove printStackTrace

Open mattrpav opened this issue 1 year ago • 0 comments

https://github.com/bbeaupain/nio_uring/blob/d2dd6b8a7fd2d6227683b617a47a235e8975f9b7/src/main/java/sh/blake/niouring/util/NativeLibraryLoader.java#L36

Removing printStackTrace would be idea.

Suggested alternatives:

  1. Add a system property guard to only print the stacktrace if a debug flag is enabled

Example:

-DniouringDebug=true 
  1. Log warn using JDK built-in JUL logger (usually that logger gets remapped to log4j or logback anyway)

mattrpav avatar Oct 14 '24 03:10 mattrpav