[Minor] Show system encodings on startup

This commit is contained in:
Robert von Burg 2019-07-11 11:46:27 +02:00
parent d3dd56656f
commit b8678e72da
1 changed files with 3 additions and 0 deletions

View File

@ -281,6 +281,9 @@ public class ComponentContainerImpl implements ComponentContainer {
logger.info(MessageFormat.format("Using locale {0} with timezone {1}",
getAgent().getStrolchConfiguration().getRuntimeConfiguration().getLocale().toLanguageTag(),
getTimezone()));
logger.info(MessageFormat
.format("file.encoding: {0} / sun.jnu.encoding {1}", System.getProperty("file.encoding"),
System.getProperty("sun.jnu.encoding")));
if (hasComponent(OperationsLog.class)) {
for (String realmName : getRealmNames()) {