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

Lance Norskog commented on SOLR-1716:
-------------------------------------

bq. Is this intended to replace the Rhino built-in "print()" function? I've 
used that to successfully debug script transformers recently. 

ScriptTransformer supports Rhino,, Groove, Scala, etc. Someday even 
[Erjang|http://wiki.github.com/krestenkrab/erjang/]. They probably all have 
such things, but a consistent debugging allows better debugging tools.

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

Reply via email to