fix logging - add newlines