From 4de18ac7002eff42c0d8759f06cda6d0a89690f9 Mon Sep 17 00:00:00 2001 From: FrozenCow Date: Tue, 25 Jan 2011 22:59:22 +0100 Subject: [PATCH] Changed startup message (shows webserver-info, hides debug) --- src/main/java/org/dynmap/WebServer.java | 2 +- src/main/java/org/dynmap/debug/BukkitPlayerDebugger.java | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/main/java/org/dynmap/WebServer.java b/src/main/java/org/dynmap/WebServer.java index ad9301a3..249a1ac1 100644 --- a/src/main/java/org/dynmap/WebServer.java +++ b/src/main/java/org/dynmap/WebServer.java @@ -37,7 +37,7 @@ public class WebServer extends Thread { sock = new ServerSocket(port, 5, bindAddress.equals("0.0.0.0") ? null : InetAddress.getByName(bindAddress)); running = true; start(); - debugger.debug("WebServer started on " + bindAddress + ":" + port); + log.info("Dynmap WebServer started on " + bindAddress + ":" + port); } public void run() diff --git a/src/main/java/org/dynmap/debug/BukkitPlayerDebugger.java b/src/main/java/org/dynmap/debug/BukkitPlayerDebugger.java index 8ceaa509..52ae6248 100644 --- a/src/main/java/org/dynmap/debug/BukkitPlayerDebugger.java +++ b/src/main/java/org/dynmap/debug/BukkitPlayerDebugger.java @@ -37,7 +37,6 @@ public class BukkitPlayerDebugger implements Debugger { public synchronized void enable() { plugin.getServer().getPluginManager().registerEvent(Event.Type.PLAYER_COMMAND, new CommandListener(), Priority.Normal, plugin); plugin.getServer().getPluginManager().registerEvent(Event.Type.PLAYER_QUIT, new CommandListener(), Priority.Normal, plugin); - log.info("Debugger enabled, use: " + debugCommand); } public synchronized void disable() {