Minor logging fixes.