From 51696fc8dc45cdf5f7cf37bb7773d8192a50fb90 Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Thu, 5 Apr 2018 15:58:08 +0200 Subject: net.server: Init a local logger (fixes traceback on attempt to warn about missing luaevent due to later loggingmanager initialization) --- net/server.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/net/server.lua b/net/server.lua index 8b6fbc0b..d8f24847 100644 --- a/net/server.lua +++ b/net/server.lua @@ -6,6 +6,7 @@ -- COPYING file in the source package for more information. -- +local log = require "util.logger".init("net.server"); local server_type = prosody and require "core.configmanager".get("*", "network_backend") or "select"; if prosody and require "core.configmanager".get("*", "use_libevent") then server_type = "event"; -- cgit v1.2.3