fix log,info,warn,error.