aboutsummaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2018-04-05 16:01:10 +0200
committerKim Alvefur <zash@zash.se>2018-04-05 16:01:10 +0200
commitcd6194c0d88565df5963a876d1b81e10f001597d (patch)
treefe5c33d52445101c772f476e3e225d9ef03ed25b /util
parent7c95d6006b682d6ae0020a4816bfba8375addeae (diff)
downloadprosody-cd6194c0d88565df5963a876d1b81e10f001597d.tar.gz
prosody-cd6194c0d88565df5963a876d1b81e10f001597d.zip
util.startup: Use own logger instead of the possibly not available yet _G.log
Diffstat (limited to 'util')
-rw-r--r--util/startup.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/util/startup.lua b/util/startup.lua
index 2219146d..d5df3a2f 100644
--- a/util/startup.lua
+++ b/util/startup.lua
@@ -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";