Clean up logging

This commit is contained in:
DaMachinator 2018-01-23 10:12:36 -05:00 committed by Arcanitor
parent c2aa8cb143
commit e59cb34be8
2 changed files with 3 additions and 4 deletions

View File

@ -45,9 +45,9 @@ class HttpStreamConnection(private val getClosure: () -> HttpGet, private val mh
} catch (e: SocketException) {
}
CivilEngineering.logger.info("closing stream")
CivilEngineering.logger.debug("closing stream")
content.close()
CivilEngineering.logger.info("thread finished")
CivilEngineering.logger.debug("thread finished")
return
}
@ -55,7 +55,6 @@ class HttpStreamConnection(private val getClosure: () -> HttpGet, private val mh
cancelled = true
get.abort()
join()
println("killed thread")
}
}

View File

@ -10,7 +10,7 @@ class ServerChatHelper {
@SubscribeEvent
fun onServerUpdate(event: TickEvent.ServerTickEvent) {
if (MessageHandler.rcvQueue.isNotEmpty())
CivilEngineering.logger.info("incoming: " + MessageHandler.rcvQueue.toString())
CivilEngineering.logger.debug("incoming: " + MessageHandler.rcvQueue.toString())
val nextMessage = MessageHandler.rcvQueue.poll()
if (nextMessage != null) {