logging is creating file but empty