Auto create the logsDir if it doesn't exists