add server-side command logging