added configuration to clean up logDir on satrtup