fixing log format output