You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Stefan Guggisberg (JIRA)" <ji...@apache.org> on 2007/09/03 11:25:20 UTC
[jira] Commented: (JCR-1105) Log at debug level rather that warn in
ItemStateMap
[ https://issues.apache.org/jira/browse/JCR-1105?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12524483 ]
Stefan Guggisberg commented on JCR-1105:
----------------------------------------
i've deliberately chosen WARN rather than DEBUG since it indicates a potential problem (like e.g. session sharing). we should try to find out why you're seeing those log messages in the first place.
> 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.