[logging] log if the network is unavailable in CFileFactory, ref #15291