add support for a user-configurable log level