Added config option to filter logging output

I added the possibility to get filters from the configuration. The reason I decided to exit the execution in case of error is that a non-fatal warning would probably get lost under a lot of logging messages.