Show query and mutation in debug mode


is it possible to show all requests query and mutate sent to dgraph?
currently i could not find any query debug to be printable in dgo client library nor dgraph/dgraph docker

thank you

I don’t think so, dgraph-js has something similar. Not sure about the others clients. But you can fill a issue detailing this.

Queries sent to a Dgraph Server can be shown in the logs with the --debugmode=true flag.

Mutations don’t appear in the logs, but if you must see them for debug purposes you can enable request tracing (--trace=<float>) and view recent mutations at serveraddr:8080/debug/requests.


@dmai, don’t we use V(3) to log all queries. We can do the same for mutations.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.