Fixed log ouput