Creating log directory