From 91410ee072c2bde675d87bbb1c5e71a99f1f6bc7 Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Wed, 13 Dec 2017 15:23:29 +0100 Subject: mod_bosh: Use moduleapi logger --- plugins/mod_bosh.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/mod_bosh.lua') diff --git a/plugins/mod_bosh.lua b/plugins/mod_bosh.lua index 71be632e..2cac7385 100644 --- a/plugins/mod_bosh.lua +++ b/plugins/mod_bosh.lua @@ -16,7 +16,7 @@ local new_uuid = require "util.uuid".generate; local core_process_stanza = prosody.core_process_stanza; local st = require "util.stanza"; local logger = require "util.logger"; -local log = logger.init("mod_bosh"); +local log = module._log; local initialize_filters = require "util.filters".initialize; local math_min = math.min; local tostring, type = tostring, type; -- cgit v1.2.3