Fixed race condition in Global::remove_ok_logs initialization