adding log directory