jsonrpc4j
jsonrpc4j copied to clipboard
setExceptionLogLevel removed, and default log-level set to warn
The code:
if (LOGGER.isLoggable(exceptionLogLevel)) {
LOGGER.log(exceptionLogLevel, "Error in JSON-RPC Service", thrown);
}
that is configured via the setExceptionLogLevel method is suddenly removed and replace with:
logger.warn("Error in JSON-RPC Service", unwrappedException);
in the commit 2658b404ac1f9424436dca8500a40ec06030959a with the less than accurate commit message:
Move to Gradle build system, refactor for cleaner code.
I wouldn't say removing functionality is either gradle-related, nor part of refactoring...
After some more digging, I found another commit that seems to add functionality to not log that line at all.with "setShouldLogInvocationErrors".
solved via https://github.com/briandilley/jsonrpc4j/pull/142.