Gremlin Server Debugging/Logging with Javascript Driver

216 views
Skip to first unread message

Dave

unread,
Jul 28, 2016, 7:28:34 PM7/28/16
to Gremlin-users
Hi,

I'm running a lot of traversals (>1000) against a Neo4j database with TP3.0.2 via a NodeJS app utilizing Jean-Baptiste's Gremlin Javascript driver (v2.3.2). About a similar distance into the program there is one traversal that hangs - and when I say hang I mean the traversal is passed to the driver but nothing is returned (also no errors thrown) and there are no errors in the Gremlin server console log. Note, however, that this traversal successfully completes earlier in program and also completes successfully in a standalone test app. 

To debug the problem I was playing with some settings in the log4j.properties file but changing from INFO to DEBUG was like turning on a fire hose. The problem can only be reproduced in the sequence of many traversals I run so I was looking for some help on trying to fine tune the debugging to focus in on the problem such as specific settings in the log4j properties file. Any tips?    

Thanks,
Dave
  

Stephen Mallette

unread,
Jul 29, 2016, 8:04:08 AM7/29/16
to Gremlin-users
I'd largely have to refer you to the log4j documentation for much deeper info on how to control the logs, but if you look at the log4j properties file with Gremlin Server you can see that it's possible to control individual loggers:


That should help you drop out the ones that you aren't interested in.



--
You received this message because you are subscribed to the Google Groups "Gremlin-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gremlin-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gremlin-users/6a84575b-0f50-41a8-b1ec-45fd096b434f%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages