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/c6914ca7-a4da-4bb5-97c6-4a299d68d2c3%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
