Make log directory configurable.