cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benedict (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-9084) Do not generate line number in logs
Date Wed, 01 Apr 2015 09:17:53 GMT

    [ https://issues.apache.org/jira/browse/CASSANDRA-9084?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14390264#comment-14390264
] 

Benedict commented on CASSANDRA-9084:
-------------------------------------

Hmm. Yes, we shouldn't have that in the default logback config IMO. It's not like it helps
tremendously anyway, since most log messages are unique to a single line of code. I'm not
sure who's best placed to assess the logging. [~dbrosius]? Looks like you made the change
to introduce logback, and also to introduce the %L - what are your thoughts?

> Do not generate line number in logs
> -----------------------------------
>
>                 Key: CASSANDRA-9084
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-9084
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Config
>            Reporter: Andrey
>            Priority: Minor
>
> According to logback documentation (http://logback.qos.ch/manual/layouts.html):
> {code}
> Generating the line number information is not particularly fast. Thus, its use should
be avoided unless execution speed is not an issue.
> {code}



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

Mime
View raw message