Minor tweaks in logger.