Added basic support for log level filtering