As above. It's unusual by the way to have 3 separate log entries, normally it would be one message i.e. consider replacing these 3 lines with LOGGER.error(my message, e)