mirror of
https://github.com/correl/mage.git
synced 2024-12-25 11:11:16 +00:00
[AdminConsole] Added starting message logged into console
This commit is contained in:
parent
a87dc12efe
commit
44ee670baf
1 changed files with 7 additions and 6 deletions
|
@ -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");
|
||||
}
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue