equal
deleted
inserted
replaced
17 local getstyle, getstring = require "util.termcolours".getstyle, require "util.termcolours".getstring; |
17 local getstyle, getstring = require "util.termcolours".getstyle, require "util.termcolours".getstring; |
18 |
18 |
19 local config = require "core.configmanager"; |
19 local config = require "core.configmanager"; |
20 local logger = require "util.logger"; |
20 local logger = require "util.logger"; |
21 local prosody = prosody; |
21 local prosody = prosody; |
22 |
|
23 _G.log = logger.init("general"); |
|
24 prosody.log = logger.init("general"); |
|
25 |
22 |
26 local _ENV = nil; |
23 local _ENV = nil; |
27 -- luacheck: std none |
24 -- luacheck: std none |
28 |
25 |
29 -- The log config used if none specified in the config file (see reload_logging for initialization) |
26 -- The log config used if none specified in the config file (see reload_logging for initialization) |