lucene-solr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Uri Boness (JIRA)" <j...@apache.org>
Subject [jira] Commented: (SOLR-1716) Add logging support for ScriptTransformer
Date Fri, 05 Mar 2010 09:36:28 GMT

    [ https://issues.apache.org/jira/browse/SOLR-1716?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12841776#action_12841776
] 

Uri Boness commented on SOLR-1716:
----------------------------------

bq. ScriptTransformer supports Rhino,, Groove, Scala, etc. Someday even Erjang. They probably
all have such things, but a consistent debugging allows better debugging tools.

True. Using the logger will print to the same log Solr log files. Indeed it's great for debugging,
but also when you have fancy complex logic in the scripts general purpose logging (e.g. INFO,
ERROR, TRACE) should also be considered.

> 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.


Mime
View raw message