Fixed log formatting