Log command execution through logging