cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andy Tolbert (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CASSANDRA-10183) logger.trace statements in hot code path in CodecRegistry
Date Tue, 25 Aug 2015 20:00:46 GMT

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

Andy Tolbert resolved CASSANDRA-10183.
--------------------------------------
    Resolution: Invalid

> logger.trace statements in hot code path in CodecRegistry
> ---------------------------------------------------------
>
>                 Key: CASSANDRA-10183
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-10183
>             Project: Cassandra
>          Issue Type: Improvement
>            Reporter: Andy Tolbert
>            Priority: Minor
>
> There are a number of logger.trace statements in CodecRegistry that should be updated
to log conditionally based on whether or not trace is enabled, i.e.:
> {code:java}
>         logger.trace("Querying cache for codec [{} <-> {}]", cqlType, javaType);
> {code}
> should be:
> {code:java}
>         if(logger.isTraceEnabled())
>             logger.trace("Querying cache for codec [{} <-> {}]", cqlType, javaType);
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message