cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Stupp (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CASSANDRA-8980) UDF shouldn't log errors at ERROR
Date Tue, 17 Mar 2015 17:07:38 GMT

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

Robert Stupp resolved CASSANDRA-8980.
-------------------------------------
    Resolution: Fixed

OK :)

Committed as 2873667

Was a one-line fix for Java-source UDFs. Scripted UDFs didn't log at ERROR level.

> UDF shouldn't log errors at ERROR
> ---------------------------------
>
>                 Key: CASSANDRA-8980
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-8980
>             Project: Cassandra
>          Issue Type: Improvement
>            Reporter: Sylvain Lebresne
>            Assignee: Robert Stupp
>            Priority: Trivial
>             Fix For: 3.0
>
>
> If a UDT throws an exception, the code currently log it at ERROR. We shouldn't do that
as that makes it very easy for someone to flood the log file. Besides, we send back an exception
to the user in that case so logging is kind of unnecessary (we can of course keep it at debug
though). 



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

Mime
View raw message