Someone should can answer this issue, I'm having the same problem logging 
scripts. Maybe Imovot can.


El viernes, 16 de mayo de 2014 10:33:12 UTC-3, Mike Snare escribió:
>
> I'm trying to debug an MVEL script that's failing in production but 
> working locally, and I've tried to do logging a couple different ways, but 
> I can only get logging to work locally.
>
> Both local and production are running 1.1.1, same exact build.  Both are 
> running with java 1.7._55.
>
> I've tried the logger approach based on 
> https://github.com/imotov/elasticsearch-test-scripts/blob/master/logging_from_script.sh,
>  
> but that only works when the server is running under java 1.6.  Under 1.7, 
> both local and production fail.
>
> I've tried using System.out.println, but that only works locally even 
> under java 1.7.  In production I just get "error": 
> "ElasticsearchIllegalArgumentException[failed to execute script]; nested: 
> PropertyAccessException[[Error: unresolvable property or identifier: 
> ]\n[Near : {... System.out.println(\"SCRIPT: ....}]\n ^\n[Line: 12, Column: 
> 1]]; "
>
> Does anyone have any pointers as to how to debug MVEL or get log output 
> from MVEL scripts in ES?
>

-- 
You received this message because you are subscribed to the Google Groups 
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/d8bc37f2-b3ea-4711-8bcd-eb65af9b61f9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to