remove debug info

v6.03_dev
YuQing 2019-11-19 11:03:55 +08:00
parent 0551999135
commit 5a6acbdff8
1 changed files with 0 additions and 19 deletions

View File

@ -778,25 +778,6 @@ static int storage_generate_store_path_mark(const int store_path_index)
base64_encode_ex(&g_fdfs_base64_context, (char *)&mark_info, base64_encode_ex(&g_fdfs_base64_context, (char *)&mark_info,
sizeof(mark_info), mark_str, &mark_len, false); sizeof(mark_info), mark_str, &mark_len, false);
{
char time_str[32];
mark_info.ip_addr[IP_ADDRESS_SIZE - 1] = '\0';
formatDatetime(mark_info.create_time,
"%Y-%m-%d %H:%M:%S",
time_str, sizeof(time_str));
logInfo("file: "__FILE__", line: %d, "
"the store path #%d, fields in the mark file: "
"{ ip_addr: %s, port: %d,"
" store_path_index: %d,"
" create_time: %s }, mark_str: %s",
__LINE__, store_path_index,
mark_info.ip_addr, mark_info.port,
mark_info.store_path_index,
time_str, mark_str);
}
snprintf(full_filename, sizeof(full_filename), "%s/data/%s", snprintf(full_filename, sizeof(full_filename), "%s/data/%s",
g_fdfs_store_paths.paths[store_path_index].path, g_fdfs_store_paths.paths[store_path_index].path,
STORE_PATH_MARK_FILENAME); STORE_PATH_MARK_FILENAME);