The logarithmic delay of KPP fronts in a periodic medium