Making log level configurable