From d723c0752ed3c9e0a6d81acd06db1723a91903a2 Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Thu, 5 Apr 2018 17:52:37 +0200 Subject: util.startup: Initialize prosody.log / _G.log here instead of in loggingmanager to reduce dependencies --- core/loggingmanager.lua | 3 --- 1 file changed, 3 deletions(-) (limited to 'core') 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 -- cgit v1.2.3