fix custom log format - from guobin