Two minor changes to logging