Fix KPD loop logger