time logging for commands