aboutsummaryrefslogtreecommitdiffstats
path: root/net/server_select.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2016-01-22 02:00:43 +0100
committerKim Alvefur <zash@zash.se>2016-01-22 02:00:43 +0100
commitb6881235ed42e490852f99d7b0d69996fde437f0 (patch)
treee628bad7eb253f9c6ad5f51affafcf950f529200 /net/server_select.lua
parentb1075a138daa14e71580fbeb4c3d7896947ca3d7 (diff)
downloadprosody-b6881235ed42e490852f99d7b0d69996fde437f0.tar.gz
prosody-b6881235ed42e490852f99d7b0d69996fde437f0.zip
server_select: Add logging of when servers are paused and resumed
Diffstat (limited to 'net/server_select.lua')
-rw-r--r--net/server_select.lua2
1 files changed, 2 insertions, 0 deletions
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( )