Implement log level filtering