Make log dir configurable