Mercurial > prosody-hg
comparison core/loggingmanager.lua @ 13565:93304fd878b2
core.loggingmanager: Bump expected util.pposix version
Otherwise no syslog or console detection
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Sat, 16 Nov 2024 14:35:36 +0100 |
| parents | ead41e25ebc0 |
| children |
comparison
equal
deleted
inserted
replaced
| 13564:a350f6332bd8 | 13565:93304fd878b2 |
|---|---|
| 18 | 18 |
| 19 local config = require "prosody.core.configmanager"; | 19 local config = require "prosody.core.configmanager"; |
| 20 local logger = require "prosody.util.logger"; | 20 local logger = require "prosody.util.logger"; |
| 21 | 21 |
| 22 local have_pposix, pposix = pcall(require, "prosody.util.pposix"); | 22 local have_pposix, pposix = pcall(require, "prosody.util.pposix"); |
| 23 have_pposix = have_pposix and pposix._VERSION == "0.4.0"; | 23 have_pposix = have_pposix and pposix._VERSION == "0.4.1"; |
| 24 | 24 |
| 25 local _ENV = nil; | 25 local _ENV = nil; |
| 26 -- luacheck: std none | 26 -- luacheck: std none |
| 27 | 27 |
| 28 -- The log config used if none specified in the config file (see reload_logging for initialization) | 28 -- The log config used if none specified in the config file (see reload_logging for initialization) |
