Return-Path: X-Original-To: apmail-couchdb-dev-archive@www.apache.org Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 0059B78A4 for ; Fri, 4 Nov 2011 00:29:56 +0000 (UTC) Received: (qmail 15405 invoked by uid 500); 4 Nov 2011 00:29:55 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 15367 invoked by uid 500); 4 Nov 2011 00:29:55 -0000 Mailing-List: contact dev-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@couchdb.apache.org Delivered-To: mailing list dev@couchdb.apache.org Received: (qmail 15357 invoked by uid 99); 4 Nov 2011 00:29:55 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Nov 2011 00:29:55 +0000 X-ASF-Spam-Status: No, hits=-2001.2 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Nov 2011 00:29:53 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 4643B32F576 for ; Fri, 4 Nov 2011 00:29:32 +0000 (UTC) Date: Fri, 4 Nov 2011 00:29:32 +0000 (UTC) From: "Christopher Bonhage (Created) (JIRA)" To: dev@couchdb.apache.org Message-ID: <1630403412.57930.1320366572289.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Created] (COUCHDB-1332) Invalid JSON shows debug level info in response MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org Invalid JSON shows debug level info in response ----------------------------------------------- Key: COUCHDB-1332 URL: https://issues.apache.org/jira/browse/COUCHDB-1332 Project: CouchDB Issue Type: Improvement Components: HTTP Interface Affects Versions: 1.1.1 Environment: OS X 10.7.1 Macbook Pro Reporter: Christopher Bonhage Priority: Minor Fix For: 1.1.1 When sending invalid JSON in an HTTP request, the response contains the string "invalid UTF-8 JSON: " followed by an erlang tuple and the escaped internal form of the string. I noticed that this error tuple is only logged when the [log] level is debug. I would propose that the error tuple only be show in the client response when debug is on as well. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira