fix multi thread log