uncommenting logging, seems like not working