I hope this helps you . Please note if you're developing an application you should use the clients for C, Java, C#, Go, Python, Node.js, etc. AQL is just a cli written using the C client for convenience when developing your data model. Regarding, logging, check Audit Trail under Security (Enterprise Edition only): https://www.aerospike.com/docs/operations/configure/security/access-control
fixed the issue. Will look into that further Alright, I figured out a solution, though I'm not quite sure if it's elegant. After a command (e.g. LoginCommand) gets executed the QueryStatus() method gets called multiple times, but with a different value for commandName.