From 48feb105c43a32c3e956ade72946551efed82b93 Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Fri, 22 Jan 2016 02:00:43 +0100 Subject: server_select: Add logging of when servers are paused and resumed --- net/server_select.lua | 2 ++ 1 file changed, 2 insertions(+) (limited to 'net') diff --git a/net/server_select.lua b/net/server_select.lua index 891151ac..c50a6ce1 100644 --- a/net/server_select.lua +++ b/net/server_select.lua @@ -213,6 +213,7 @@ wrapserver = function( listeners, socket, ip, serverport, pattern, sslctx ) -- t socket = nil; end handler.paused = true; + out_put("server.lua: server [", ip, "]:", serverport, " paused") end end handler.resume = function( ) @@ -225,6 +226,7 @@ wrapserver = function( listeners, socket, ip, serverport, pattern, sslctx ) -- t _socketlist[ socket ] = handler _fullservers[ handler ] = nil handler.paused = false; + out_put("server.lua: server [", ip, "]:", serverport, " resumed") end end handler.ip = function( ) -- cgit v1.2.3