log changed to debug