Enable to build a jar and defining a log file