Changeset

8492:2dd07828ede1

mod_bosh: Use moduleapi logger
author Kim Alvefur <zash@zash.se>
date Wed, 13 Dec 2017 15:23:29 +0100
parents 8491:f134be08a499
children 8493:d424fe42b4d2
files plugins/mod_bosh.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/mod_bosh.lua	Wed Dec 13 15:31:21 2017 +0100
+++ b/plugins/mod_bosh.lua	Wed Dec 13 15:23:29 2017 +0100
@@ -16,7 +16,7 @@
 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;