Fix log formatter with no host name