making log file location and log level configurable