Added log level option