浏览代码

添加日志打印

tianboguang 2 年之前
父节点
当前提交
d3108710ee
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/main/java/com/fdkankan/contro/service/impl/SceneFileBuildServiceImpl.java

+ 1 - 1
src/main/java/com/fdkankan/contro/service/impl/SceneFileBuildServiceImpl.java

@@ -210,7 +210,7 @@ public class SceneFileBuildServiceImpl extends ServiceImpl<ISceneFileBuildMapper
             throw new BusinessException(ErrorCode.FAILURE_CODE_5047);
         }
 
-        log.info("mac:" + mac + "准备上传文件");
+        log.info("mac:{} 准备上传文件,folderName:{}", mac, folderName);
         String dataSource = scenePlusService.getDataSourceLikeUnicode("/" + folderName);
         if(StrUtil.isNotEmpty(dataSource)){
             int n = dataSource.split("/").length;