[checkmk-commits] Centralize write_to_all_logs. Various tiny cleanups.