|
@@ -1,5 +1,7 @@
|
|
|
package com.diagbot.client.fastdfs;
|
|
|
|
|
|
+import com.diagbot.util.StringUtil;
|
|
|
+import org.apache.commons.lang3.StringUtils;
|
|
|
import org.csource.common.NameValuePair;
|
|
|
import org.csource.fastdfs.ClientGlobal;
|
|
|
import org.csource.fastdfs.FileInfo;
|
|
@@ -44,6 +46,8 @@ public class FastDFSClient {
|
|
|
try {
|
|
|
storageClient = getTrackerClient();
|
|
|
uploadResults = storageClient.upload_file(file.getContent(), file.getExt(), meta_list);
|
|
|
+ logger.info("storageClient:"+storageClient.toString());
|
|
|
+ logger.info("uploadResults:"+ StringUtils.join(uploadResults,','));
|
|
|
} catch (IOException e) {
|
|
|
logger.error("IO Exception when uploadind the file:" + file.getName(), e);
|
|
|
} catch (Exception e) {
|