Logging during command dispatching