Create log directory recursively