diff --git a/src/main/java/org/fluentd/logger/sender/RawSocketSender.java b/src/main/java/org/fluentd/logger/sender/RawSocketSender.java index 4b56b41..5cd0b2b 100644 --- a/src/main/java/org/fluentd/logger/sender/RawSocketSender.java +++ b/src/main/java/org/fluentd/logger/sender/RawSocketSender.java @@ -203,7 +203,7 @@ public synchronized void flush() { catch (Exception handlerException) { LOG.warn("ErrorHandler.handleNetworkError failed", handlerException); } - LOG.error(this.getClass().getName(), "flush", e); + LOG.error("flush failed", e); reconnector.addErrorHistory(System.currentTimeMillis()); close(); }