mainly move some log sentences to debug mode