Skip to content

Commit dbc3d43

Browse files
authored
[To dev/1.1]change config not found log to debug #630
1 parent 60e6002 commit dbc3d43

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

java/tsfile/src/main/java/org/apache/tsfile/common/conf/TSFileDescriptor.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,9 @@ private Optional<Properties> loadProperties() {
139139
logger.info("try loading {} from {}", TSFileConfig.CONFIG_FILE_NAME, file);
140140
return loadPropertiesFromFile(file);
141141
} else {
142-
logger.warn("not found {}, use the default configs.", TSFileConfig.CONFIG_FILE_NAME);
142+
if (logger.isDebugEnabled()) {
143+
logger.debug("not found {}, use the default configs.", TSFileConfig.CONFIG_FILE_NAME);
144+
}
143145
return Optional.empty();
144146
}
145147
}

0 commit comments

Comments
 (0)