jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Florent Guillaume (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (JCR-1105) Log at debug level rather that warn in ItemStateMap
Date Mon, 03 Sep 2007 09:51:18 GMT

     [ https://issues.apache.org/jira/browse/JCR-1105?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Florent Guillaume resolved JCR-1105.
------------------------------------

    Resolution: Won't Fix

Ah ok, then I retract this issue.
I'll try to find the cause in my application first.
Thanks.

> 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.


Mime
View raw message