you should update this exception, it's failing because both cfg file and log file are not set