ng: Use console logs

This enables color if output is a terminal
This commit is contained in:
Kim Alvefur 2023-01-14 00:22:19 +01:00
parent d9e98d73cf
commit 87c60bc5d9

View file

@ -221,7 +221,7 @@ archive_expires_after = (ENV_PROSODY_ARCHIVE_EXPIRY_DAYS or ENV_PROSODY_RETENTIO
-- Logging configuration -- Logging configuration
-- For advanced logging see https://prosody.im/doc/logging -- For advanced logging see https://prosody.im/doc/logging
log = { log = {
[ENV_PROSODY_LOGLEVEL or "info"] = "*stdout"; [ENV_PROSODY_LOGLEVEL or "info"] = "*console";
} }