Bugfixes to logging defaulting.