Browse Source

add space in log message

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1898395 13f79535-47bb-0310-9956-ffa450edef68
tags/REL_5_2_1
PJ Fanning 2 years ago
parent
commit
1e9d318a80
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      poi/src/main/java/org/apache/poi/util/XMLHelper.java

+ 1
- 1
poi/src/main/java/org/apache/poi/util/XMLHelper.java View File



private static void logThrowable(Throwable t, String message, String name) { private static void logThrowable(Throwable t, String message, String name) {
if (System.currentTimeMillis() > lastLog + TimeUnit.MINUTES.toMillis(5)) { if (System.currentTimeMillis() > lastLog + TimeUnit.MINUTES.toMillis(5)) {
LOG.atWarn().withThrowable(t).log("{} [log suppressed for 5 minutes]{}", message, name);
LOG.atWarn().withThrowable(t).log("{} [log suppressed for 5 minutes] {}", message, name);
lastLog = System.currentTimeMillis(); lastLog = System.currentTimeMillis();
} }
} }

Loading…
Cancel
Save