Restore logging of command output