logger can now be setted in config file