some performance improve, and set  default defaultLevel as 'info'