You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-dev@lucene.apache.org by "Erik Hatcher (JIRA)" <ji...@apache.org> on 2010/01/11 22:41:54 UTC
[jira] Commented: (SOLR-1716) Add logging support for
ScriptTransformer
[ https://issues.apache.org/jira/browse/SOLR-1716?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12798873#action_12798873 ]
Erik Hatcher commented on SOLR-1716:
------------------------------------
Couldn't this be done with some kind of script context global or something, rather than adding a logger to the method signature?
And if it is added to the signature, will this work with methods without it too?
> 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
>
>
> 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.