check the logger to be info enabled