Change to 1.5 log handle.

Increment version.
This commit is contained in:
Steven Lawson 2013-03-16 15:57:35 -04:00
parent ea5e1e458e
commit 962c1f586a
4 changed files with 5 additions and 5 deletions

View file

@ -1,4 +1,4 @@
# BukkitTelnet v2.2 Configuration File
# BukkitTelnet v2.3 Configuration File
# Port to bind to:
port: 8765

View file

@ -163,7 +163,7 @@ public class BT_TelnetListener extends Handler implements CommandSender
return;
}
Logger.getLogger("Minecraft").addHandler(this);
Logger.getLogger("Minecraft-Server").addHandler(this);
while (is_running && clientSocket.isConnected() && is_authenticated)
{
@ -248,7 +248,7 @@ public class BT_TelnetListener extends Handler implements CommandSender
is_running = false;
BT_Util.log(Level.INFO, "Closing connection: " + client_ip);
Logger.getLogger("Minecraft").removeHandler(this);
Logger.getLogger("Minecraft-Server").removeHandler(this);
if (!clientSocket.isClosed())
{

View file

@ -12,7 +12,7 @@ import org.apache.commons.lang.exception.ExceptionUtils;
public class BT_Util
{
private static final Logger logger = Logger.getLogger("Minecraft");
private static final Logger logger = Logger.getLogger("Minecraft-Server");
protected BT_Util()
{

View file

@ -1,5 +1,5 @@
name: BukkitTelnet
main: me.StevenLawson.BukkitTelnet.BukkitTelnet
version: 2.2
version: 2.3
description: Telnet console access plugin.
author: bekvon, Madgeek1450 / StevenLawson