hooking up logging class and setting the application up configure loglevel