Bring back 'stdout' entry in data dict of check_cmd
Improve logging a bit