Diff

core/loggingmanager.lua @ 8720:dba17a70fd22

util.startup: Initialize prosody.log / _G.log here instead of in loggingmanager to reduce dependencies
author Kim Alvefur <zash@zash.se>
date Thu, 05 Apr 2018 17:52:37 +0200
parent 8693:6e24a69b03af
child 8721:b773b15fee71
line wrap: on
line diff
--- a/core/loggingmanager.lua	Thu Apr 05 17:41:00 2018 +0200
+++ b/core/loggingmanager.lua	Thu Apr 05 17:52:37 2018 +0200
@@ -20,9 +20,6 @@
 local logger = require "util.logger";
 local prosody = prosody;
 
-_G.log = logger.init("general");
-prosody.log = logger.init("general");
-
 local _ENV = nil;
 -- luacheck: std none