[infinispan-issues] [JBoss JIRA] (ISPN-5285) Logging for Partition Handling and Key availablility too verbose

Wolf-Dieter Fink (JIRA) issues at jboss.org
Wed Mar 11 06:27:19 EDT 2015


Wolf-Dieter Fink created ISPN-5285:
--------------------------------------

             Summary: Logging for Partition Handling and Key availablility too verbose
                 Key: ISPN-5285
                 URL: https://issues.jboss.org/browse/ISPN-5285
             Project: Infinispan
          Issue Type: Enhancement
            Reporter: Wolf-Dieter Fink


If, during a cluster spit, the partitions are in DEGRADED mode, access to a key is logged in TRACE and ERROR, but the ERROR seems too verbose.

TRACE Checking availablility for key=...., status DEGRADED_MODE
TRACE Part. in DEGRADED_MODE, access is not allowed for key ....
ERROR ISPN0000306, Key '...' not available. Not all owners .....
   and a full stacktrace


Logging the information twice in DEBUG and ERROR seems useless.
But having the full stacktrace might blow up the log file during DEGRADED_MODE. The error should only one line, no stacktrace as this information is not very useful at this point.

Maybe a TRACE message or lower should include the stacktrace if there is a need for this information.



--
This message was sent by Atlassian JIRA
(v6.3.11#6341)


More information about the infinispan-issues mailing list