Added log level param