Mercurial > prosody-hg
diff core/loggingmanager.lua @ 12247:dcad8940f072
core.loggingmanager: Add FIXME about supporting console logging to stderr
Currently it is hard codded to be a specialized stdout logger, which
should be fixed one day.
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Wed, 02 Feb 2022 18:36:08 +0100 |
| parents | 46fa1b939e88 |
| children | ead41e25ebc0 |
line wrap: on
line diff
--- a/core/loggingmanager.lua Wed Feb 02 18:28:28 2022 +0100 +++ b/core/loggingmanager.lua Wed Feb 02 18:36:08 2022 +0100 @@ -227,6 +227,7 @@ local function log_to_console(sink_config) -- Really if we don't want pretty colours then just use plain stdout + -- FIXME refactor to allow console logging with colours on stderr if not do_pretty_printing then return log_to_stdout(sink_config); end
