Skip to content

Commit

Permalink
fix logging to not show trace
Browse files Browse the repository at this point in the history
  • Loading branch information
erilong committed Jun 20, 2019
1 parent 2a8866a commit ebdb1f5
Showing 1 changed file with 1 addition and 2 deletions.
Expand Up @@ -369,8 +369,7 @@ protected InputStream createInputStream() throws FileNotFoundException {
public BufferedWriter getWriter(long threshold) {
if (writer == null) {
if (file != null && file.exists()) {
log.warn("getWriter had to delete {} because it already existed.",
file.getAbsolutePath(), new RuntimeException("Stack Trace"));
log.warn("getWriter had to delete {} because it already existed.", file.getAbsolutePath());
file.delete();
} else if (this.memoryBuffer != null) {
log.warn("We had to delete the memory buffer for {} because it already existed", getPath());
Expand Down

0 comments on commit ebdb1f5

Please sign in to comment.