aboutsummaryrefslogtreecommitdiffstats
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
commitf232c3cf3d7cb3ad1463b268d3a958f594a8305f (patch)
treefe5c33d52445101c772f476e3e225d9ef03ed25b
parent06d340adc5be45e504f0a5d9e71389db07555490 (diff)
downloadprosody-f232c3cf3d7cb3ad1463b268d3a958f594a8305f.tar.gz
prosody-f232c3cf3d7cb3ad1463b268d3a958f594a8305f.zip
util.startup: Use own logger instead of the possibly not available yet _G.log
-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";