Added log level support