Skip to content

Commit dbd5d7c

Browse files
committed
TRUNK-6309: OpenMRS is not logging "Using runtime properties file: {}"
(change log level to warn)
1 parent a13ec0d commit dbd5d7c

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

web/src/main/java/org/openmrs/web/Listener.java

+1-4
Original file line numberDiff line numberDiff line change
@@ -230,10 +230,7 @@ public void contextInitialized(ServletContextEvent event) {
230230
if (StringUtils.hasLength(appDataRuntimeProperty)) {
231231
OpenmrsUtil.setApplicationDataDirectory(null);
232232
}
233-
//ensure that we always log the runtime properties file that we are using
234-
//since openmrs is just booting, the log levels are not yet set. TRUNK-4835
235-
OpenmrsLoggingUtil.applyLogLevel(getClass().getName(), "INFO");
236-
log.info("Using runtime properties file: {}",
233+
log.warn("Using runtime properties file: {}",
237234
OpenmrsUtil.getRuntimePropertiesFilePathName(WebConstants.WEBAPP_NAME));
238235
}
239236

0 commit comments

Comments
 (0)