Fix for NPE and inform user when the default debug level is at least INFO