|
@@ -200,9 +200,11 @@ public class LocalizedResource implements EventHandler<ResourceEvent> {
|
|
|
LOG.warn("Can't handle this event at current state", e);
|
|
|
}
|
|
|
if (oldState != newState) {
|
|
|
- LOG.info("Resource " + resourcePath + (localPath != null ?
|
|
|
- "(->" + localPath + ")": "") + " transitioned from " + oldState
|
|
|
- + " to " + newState);
|
|
|
+ if (LOG.isDebugEnabled()) {
|
|
|
+ LOG.debug("Resource " + resourcePath + (localPath != null ?
|
|
|
+ "(->" + localPath + ")": "") + " transitioned from " + oldState
|
|
|
+ + " to " + newState);
|
|
|
+ }
|
|
|
}
|
|
|
} finally {
|
|
|
this.writeLock.unlock();
|