Add logging level to settings
Use logging level setting in main module