[AdminConsole] Added starting message logged into console

This commit is contained in:
magenoxx 2014-04-28 16:03:12 +05:30
parent a87dc12efe
commit 44ee670baf

View file

@ -34,12 +34,6 @@
package mage.server.console;
import java.util.UUID;
import java.util.prefs.Preferences;
import javax.swing.Box;
import javax.swing.JOptionPane;
import javax.swing.SwingUtilities;
import javax.swing.UIManager;
import mage.interfaces.MageClient;
import mage.interfaces.callback.ClientCallback;
import mage.remote.Connection;
@ -48,6 +42,9 @@ import mage.remote.SessionImpl;
import mage.utils.MageVersion;
import org.apache.log4j.Logger;
import javax.swing.*;
import java.util.prefs.Preferences;
/**
*
* @author BetaSteward_at_googlemail.com
@ -201,9 +198,13 @@ public class ConsoleFrame extends javax.swing.JFrame implements MageClient {
* @param args the command line arguments
*/
public static void main(String args[]) {
logger.info("Starting MAGE server console version " + version);
logger.info("Logging level: " + logger.getEffectiveLevel());
java.awt.EventQueue.invokeLater(new Runnable() {
public void run() {
new ConsoleFrame().setVisible(true);
logger.info("Started MAGE server console");
}
});
}