diff options
author | Kim Alvefur <zash@zash.se> | 2018-04-05 15:58:08 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2018-04-05 15:58:08 +0200 |
commit | 51696fc8dc45cdf5f7cf37bb7773d8192a50fb90 (patch) | |
tree | 5f9473af20d14b4c6886dc2b5af28c1cefd44eb7 /net | |
parent | 5414788b5172d1221b63927d794228c1fff283c0 (diff) | |
download | prosody-51696fc8dc45cdf5f7cf37bb7773d8192a50fb90.tar.gz prosody-51696fc8dc45cdf5f7cf37bb7773d8192a50fb90.zip |
net.server: Init a local logger (fixes traceback on attempt to warn about missing luaevent due to later loggingmanager initialization)
Diffstat (limited to 'net')
-rw-r--r-- | net/server.lua | 1 |
1 files changed, 1 insertions, 0 deletions
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"; |