Details
Description
There are many places that using Logger.error(String format, Object... arguments) incorrectly.
A example:
LOG.error("Cannot remove {}", path, e);
The exception passed here is no meaning and won't be printed. Actually it should be update to
LOG.error("Cannot remove {}: {}.", path, e.getMessage());
or
LOG.error("Cannot remove " + path, e));