log dir creation