minor fixes to the logging in YCM