Changeset

8713:48bd442f6d4d

util.startup: Use own logger instead of the possibly not available yet _G.log
author Kim Alvefur <zash@zash.se>
date Thu, 05 Apr 2018 16:01:10 +0200
parents 8712:e9caf447deed
children 8714:e1c4bdb2cd25
files util/startup.lua
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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";