|
|
@@ -3,7 +3,6 @@
|
|
|
#include <regex>
|
|
|
#include <iosfwd>
|
|
|
#include <fstream>
|
|
|
-#include <spdlog.h>
|
|
|
|
|
|
#include "stdlog.h"
|
|
|
|
|
|
@@ -955,7 +954,7 @@ bool CurlFtp::downloadFile(const std::string& remoteFile, const std::string& loc
|
|
|
LOG_ERROR("Failed to create local dir: " << localDirTmp);
|
|
|
return false;
|
|
|
}
|
|
|
- SPDLOG_DEBUG("远程文件: {}, 本地路径: {}", ftpUrl, localFile);
|
|
|
+ LOG_DEBUG("远程文件: " << ftpUrl << ", 本地路径: " << localFile);
|
|
|
|
|
|
/* 打开文件,Windows需要转换成 std::wstring 和 std::wofstream */
|
|
|
// #if defined(_WIN32) && defined(_MSC_VER)
|
|
|
@@ -1382,7 +1381,6 @@ bool CurlFtp::listByWildcard(const std::string& dir, std::vector<CF_FileInfo>& o
|
|
|
LOG_ERROR("Failed to get file list, Url = " << ftpUrl);
|
|
|
return false;
|
|
|
}
|
|
|
- // SPDLOG_DEBUG("SFTP Src string: {}", strSrc);
|
|
|
/* 解析字符串 */
|
|
|
parseFileInfo(strSrc, out);
|
|
|
return true;
|