// Cannot move into read from no index
if (State.NONE == this.state && State.READ == state) {
- getLogger().info("Cannot move into read from no index in {} with state {}", this, state);
+ if (getLogger().isDebugEnabled())
+ getLogger().debug("Cannot move into read from no index in {} with state {}", this, state);
return;
}
// Cannot move into write from no index
if (State.NONE == this.state && State.WRITE == state) {
- getLogger().info("Cannot move into write from no index in {} with state {}", this, state);
+ if (getLogger().isDebugEnabled())
+ getLogger().debug("Cannot move into write from no index in {} with state {}", this, state);
return;
}
if (overwrite) {
if (Files.exists(indexPath)) {
mon.subTask("Erasing previous index");
- getLogger().info("Erasing previous index {}", indexPath.toAbsolutePath());
+ if (getLogger().isDebugEnabled())
+ getLogger().debug("Erasing previous index {}", indexPath.toAbsolutePath());
FileUtils.delete(indexPath);
}
}
<appender-ref ref="file" />
</appender>
- <logger name="org.simantics" level="debug" additivity="false">
+ <logger name="org.simantics" level="info" additivity="false">
<appender-ref ref="async-console" />
<appender-ref ref="async-file" />
</logger>