Log at debug level rather that warn in ItemStateMap
---------------------------------------------------
Key: JCR-1105
URL: https://issues.apache.org/jira/browse/JCR-1105
Project: Jackrabbit
Issue Type: Improvement
Components: core
Affects Versions: 1.3.1
Reporter: Florent Guillaume
Priority: Trivial
Please change org.apache.jackrabbit.core.state.ItemStateMap#put to log at DEBUG level rather
that WARN.
15:48:42,751 [main] WARN ItemStateMap : overwriting map entry 710c8476-e12d-9fcb-4556-0e02a7240bbf
(Such warnings don't mean anything to people analyzing application logs.)
--- jackrabbit-core/src/main/java/org/apache/jackrabbit/core/state/ItemStateMap.java (revision
571983)
+++ jackrabbit-core/src/main/java/org/apache/jackrabbit/core/state/ItemStateMap.java (working
copy)
@@ -79,7 +79,7 @@
public void put(ItemState state) {
ItemId id = state.getId();
if (map.containsKey(id)) {
- log.warn("overwriting map entry " + id);
+ log.debug("overwriting map entry " + id);
}
map.put(id, state);
}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
|