Add hostname to the log record