Return-Path: Delivered-To: apmail-lucene-solr-dev-archive@minotaur.apache.org Received: (qmail 89547 invoked from network); 5 Mar 2010 02:18:02 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 5 Mar 2010 02:18:02 -0000 Received: (qmail 54357 invoked by uid 500); 5 Mar 2010 02:17:49 -0000 Delivered-To: apmail-lucene-solr-dev-archive@lucene.apache.org Received: (qmail 54297 invoked by uid 500); 5 Mar 2010 02:17:49 -0000 Mailing-List: contact solr-dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: solr-dev@lucene.apache.org Delivered-To: mailing list solr-dev@lucene.apache.org Received: (qmail 54289 invoked by uid 99); 5 Mar 2010 02:17:49 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Mar 2010 02:17:49 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Mar 2010 02:17:48 +0000 Received: from brutus.apache.org (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 21A19234C4C6 for ; Fri, 5 Mar 2010 02:17:27 +0000 (UTC) Message-ID: <1736697929.87221267755447123.JavaMail.jira@brutus.apache.org> Date: Fri, 5 Mar 2010 02:17:27 +0000 (UTC) From: "Michael Henson (JIRA)" To: solr-dev@lucene.apache.org Subject: [jira] Commented: (SOLR-1716) Add logging support for ScriptTransformer In-Reply-To: <1135788790.158971263236694610.JavaMail.jira@brutus.apache.org> 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 [ https://issues.apache.org/jira/browse/SOLR-1716?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12841659#action_12841659 ] Michael Henson commented on SOLR-1716: -------------------------------------- Is this intended to replace the Rhino built-in "print()" function? I've used that to successfully debug script transformers recently. > Add logging support for ScriptTransformer > ----------------------------------------- > > Key: SOLR-1716 > URL: https://issues.apache.org/jira/browse/SOLR-1716 > Project: Solr > Issue Type: Improvement > Components: contrib - DataImportHandler > Reporter: Uri Boness > Fix For: 1.5 > > Attachments: SOLR-1716.patch, SOLR-1716.patch > > > Currently it's very hard to debug the logic embedded in the script ran by the ScriptTransformer. There should be a possibility to add a logger to the function signature, which can be used for logging. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.