[fix](LOG)change printStackTracker to LOG (#24884)

This commit is contained in:
Euporia
2023-09-26 08:28:53 +08:00
committed by GitHub
parent 4c9ffd210d
commit b9472bf5d3
8 changed files with 29 additions and 10 deletions

View File

@ -17,6 +17,8 @@
package org.apache.doris.common.io;
import lombok.extern.slf4j.Slf4j;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
@ -24,7 +26,9 @@ import java.io.InputStreamReader;
import java.util.ArrayList;
import java.util.List;
@Slf4j
public class DiskUtils {
public static class Df {
public String fileSystem = "";
public long blocks;
@ -69,7 +73,7 @@ public class DiskUtils {
df.mountedOn = values[5];
return df;
} catch (IOException e) {
e.printStackTrace();
log.info("failed to obtain disk information", e);
return null;
}
}