I am trying to debug my use of some Ranger REST APIs.
I am using ranger built from master, configured with mariadb, and using the 
regular ranger startup script with only ranger-2.0.0-SNAPSHOT-admin for now.

However I'm noticing that the catalina.out log file (where I've seen some 
issues, for example in the parsing of the JSON payload of some of my requests) 
is buffered. I'd like to force the file to flush, ideally after every log 
entry, whilst developing.

The kind of errors I'm looking for are from within tomcat itself ie 

Oct 22, 2018 3:44:25 PM org.apache.catalina.core.StandardWrapperValve invoke
SEVERE: Servlet.service() for servlet [REST Service] in context with path [] 
threw exception [org.codehaus.jackson.map.JsonMappingException: Can not 
construct instance 

Somewhat typical when trying to get the right payload...

However I'm unsure what exactly to change to achieve this. Any tips?

nigel.

Reply via email to