accept also outputPath with /main.log in the command line