import java.net.InetAddress;
import java.net.URL;
import java.net.UnknownHostException;
+import java.nio.charset.Charset;
import java.nio.charset.StandardCharsets;
import java.nio.file.Files;
import java.nio.file.Path;
}
public void start() {
+ Charset defaultCharset = Charset.defaultCharset();
+ if (!StandardCharsets.UTF_8.equals(defaultCharset))
+ log.error("Default JVM charset is " + defaultCharset + " and not " + StandardCharsets.UTF_8);
try {
// First init check
Path privateBase = getDataPath(KernelConstants.DIR_PRIVATE);
log.debug("CMS stopping... (" + this.uuid + ")");
long duration = ((System.currentTimeMillis() - availableSince) / 1000) / 60;
- log.info("## ARGEO CMS STOPPED after " + (duration / 60) + "h " + (duration % 60) + "min uptime ##");
+ log.info("## ARGEO CMS " + uuid + " STOPPED after " + (duration / 60) + "h " + (duration % 60)
+ + "min uptime ##");
}
private void firstInit() throws IOException {