Fixed log name  and better formatting