better command logging