aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2018-04-05 17:52:37 +0200
committerKim Alvefur <zash@zash.se>2018-04-05 17:52:37 +0200
commitd723c0752ed3c9e0a6d81acd06db1723a91903a2 (patch)
tree4242aa68571cdb6dfb9b54b8485e6d37c2727fe2 /core
parent7d46eacc39c7b44e44faee2d7aed7797cefd4a2b (diff)
downloadprosody-d723c0752ed3c9e0a6d81acd06db1723a91903a2.tar.gz
prosody-d723c0752ed3c9e0a6d81acd06db1723a91903a2.zip
util.startup: Initialize prosody.log / _G.log here instead of in loggingmanager to reduce dependencies
Diffstat (limited to 'core')
-rw-r--r--core/loggingmanager.lua3
1 files changed, 0 insertions, 3 deletions
diff --git a/core/loggingmanager.lua b/core/loggingmanager.lua
index c281a17c..23aa8e64 100644
--- a/core/loggingmanager.lua
+++ b/core/loggingmanager.lua
@@ -20,9 +20,6 @@ local config = require "core.configmanager";
local logger = require "util.logger";
local prosody = prosody;
-_G.log = logger.init("general");
-prosody.log = logger.init("general");
-
local _ENV = nil;
-- luacheck: std none