mirror of
https://github.com/bjc/prosody.git
synced 2025-04-03 21:27:38 +03:00
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.
This commit is contained in:
parent
bc15d6424f
commit
70598062e3
1 changed files with 1 additions and 0 deletions
|
@ -227,6 +227,7 @@ end
|
|||
|
||||
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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue