This commit is contained in:
dean
2026-04-08 18:26:25 +09:00
parent be3e32a87a
commit 501b4a6f51

View File

@@ -582,7 +582,7 @@ public class FileManagerService {
Path directory = Paths.get(directoryPath); Path directory = Paths.get(directoryPath);
if (!Files.exists(directory)) { if (!Files.exists(directory)) {
log.debug("디렉토리가 존재하지 않습니다: {}", directoryPath); log.info("디렉토리가 존재하지 않습니다: {}", directoryPath);
return FileManagerDto.StorageSpaceRes.builder() return FileManagerDto.StorageSpaceRes.builder()
.directoryPath(directoryPath) .directoryPath(directoryPath)
.fileCount(0) .fileCount(0)
@@ -600,7 +600,7 @@ public class FileManagerService {
} }
if (!Files.isDirectory(directory)) { if (!Files.isDirectory(directory)) {
log.debug("디렉토리 경로가 아닙니다: {}", directoryPath); log.info("디렉토리 경로가 아닙니다: {}", directoryPath);
return FileManagerDto.StorageSpaceRes.builder() return FileManagerDto.StorageSpaceRes.builder()
.directoryPath(directoryPath) .directoryPath(directoryPath)
.fileCount(0) .fileCount(0)
@@ -642,7 +642,7 @@ public class FileManagerService {
} }
}); });
} catch (IOException e) { } catch (IOException e) {
log.debug("디렉토리 용량 계산 중 오류 발생: {}", directoryPath, e); log.error("디렉토리 용량 계산 중 오류 발생: {}", directoryPath, e);
return FileManagerDto.StorageSpaceRes.builder() return FileManagerDto.StorageSpaceRes.builder()
.directoryPath(directoryPath) .directoryPath(directoryPath)
.fileCount(0) .fileCount(0)