improve debug log

This commit is contained in:
Shinsuke Sugaya 2019-09-24 05:57:55 +09:00
parent 8658167ee7
commit 9dd69d5491

View file

@ -80,7 +80,7 @@ public class DocumentHelper {
}
} catch (final ComponentNotFoundException e) {
if (logger.isDebugEnabled()) {
logger.debug("tikaExtractor is not found: " + e.getMessage());
logger.debug("tikaExtractor is not found: {}", e.getMessage().replace('\n', ' '));
}
} catch (final Exception e) {
logger.warn("Failed to initiaize TikaExtractor.", e);