This should be replaced with ```LOGGER.debug("", e)```, so that slf4j is used for logging.