Fix some logging semantics