added logs dir creation