Added function getLogLevel in configuration.
Fixing loglevel and message