[#40680193] Add log directory if not exist