system_out_제거

This commit is contained in:
cho
2026-03-03 14:09:55 +09:00
parent dfcec99576
commit 8b72299689
42 changed files with 173 additions and 172 deletions
+2 -2
View File
@@ -25,14 +25,14 @@ public class SystemPropConfig implements ServletContextAware {
@PostConstruct
public void loadlPropertiesToSystemProp() {
System.out.println("loadPropertiesToSystemProp: "+SYSTEM_PROP_FILE_PATH);
// System.out.println("loadPropertiesToSystemProp: "+SYSTEM_PROP_FILE_PATH);
Properties sysProp = new Properties();
try(InputStream is = servletContext.getResourceAsStream(SYSTEM_PROP_FILE_PATH)){
sysProp.load(is);
sysProp.forEach((key, value) -> {
if (StringUtils.isBlank(System.getProperty((String) key))) {
System.setProperty((String) key, (String) value);
System.out.println("Set system prop: "+key+"="+value);
// System.out.println("Set system prop: "+key+"="+value);
}
});
} catch (Throwable th) {