fix connecting local issue;change log format;