fix a bug getting log-socket-host option param