There is an exception after inputing the directory name after the options "log" or "report" in console mode.