Added default charset information in startup logs

This commit is contained in:
Oleg Agafonov 2020-08-28 07:33:42 +04:00
parent 57dba8c02a
commit b610d0a31a
3 changed files with 7 additions and 0 deletions

View file

@ -67,6 +67,7 @@ import java.awt.image.BufferedImage;
import java.io.IOException;
import java.io.InputStream;
import java.net.SocketException;
import java.nio.charset.Charset;
import java.util.*;
import java.util.concurrent.Executors;
import java.util.concurrent.ScheduledExecutorService;
@ -1268,6 +1269,7 @@ public class MageFrame extends javax.swing.JFrame implements MageClient {
System.setProperty("java.util.Arrays.useLegacyMergeSort", "true");
LOGGER.info("Starting MAGE client version " + VERSION);
LOGGER.info("Logging level: " + LOGGER.getEffectiveLevel());
LOGGER.info("Default charset: " + Charset.defaultCharset());
startTime = System.currentTimeMillis();
Thread.setDefaultUncaughtExceptionHandler((t, e) -> LOGGER.fatal(null, e));