util.startup: Use own logger instead of the possibly not available yet _G.log
authorKim Alvefur <zash@zash.se>
Thu, 05 Apr 2018 16:01:10 +0200
changeset 8716 48bd442f6d4d
parent 8715 e9caf447deed
child 8717 e1c4bdb2cd25
util.startup: Use own logger instead of the possibly not available yet _G.log
util/startup.lua
--- a/util/startup.lua	Thu Apr 05 16:00:27 2018 +0200
+++ b/util/startup.lua	Thu Apr 05 16:01:10 2018 +0200
@@ -3,6 +3,7 @@
 local startup = {};
 
 local prosody = { events = require "util.events".new() };
+local log = require "util.logger".init("startup");
 
 local config = require "core.configmanager";