add log level support