Fix output in optimization logger