Some minor tweaks to the logging library