Clean up logging
This commit is contained in:
parent
c2aa8cb143
commit
e59cb34be8
|
@ -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")
|
||||
|
||||
}
|
||||
}
|
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue