Software /
code /
prosody
Comparison
plugins/mod_bosh.lua @ 8492:2dd07828ede1
mod_bosh: Use moduleapi logger
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Wed, 13 Dec 2017 15:23:29 +0100 |
parent | 8491:f134be08a499 |
child | 8493:d424fe42b4d2 |
comparison
equal
deleted
inserted
replaced
8491:f134be08a499 | 8492:2dd07828ede1 |
---|---|
14 local sm_destroy_session = sm.destroy_session; | 14 local sm_destroy_session = sm.destroy_session; |
15 local new_uuid = require "util.uuid".generate; | 15 local new_uuid = require "util.uuid".generate; |
16 local core_process_stanza = prosody.core_process_stanza; | 16 local core_process_stanza = prosody.core_process_stanza; |
17 local st = require "util.stanza"; | 17 local st = require "util.stanza"; |
18 local logger = require "util.logger"; | 18 local logger = require "util.logger"; |
19 local log = logger.init("mod_bosh"); | 19 local log = module._log; |
20 local initialize_filters = require "util.filters".initialize; | 20 local initialize_filters = require "util.filters".initialize; |
21 local math_min = math.min; | 21 local math_min = math.min; |
22 local tostring, type = tostring, type; | 22 local tostring, type = tostring, type; |
23 local traceback = debug.traceback; | 23 local traceback = debug.traceback; |
24 local runner = require"util.async".runner; | 24 local runner = require"util.async".runner; |