aboutsummaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
Diffstat (limited to 'util')
-rw-r--r--util/startup.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/util/startup.lua b/util/startup.lua
index 893a4995..f6c931dd 100644
--- a/util/startup.lua
+++ b/util/startup.lua
@@ -475,6 +475,9 @@ function startup.force_console_logging()
log_level = "debug";
elseif prosody.opts.quiet then
log_level = "error";
+ elseif prosody.opts.silent then
+ config.set("*", "log", {}); -- ssssshush!
+ return
end
end
config.set("*", "log", { { levels = { min = log_level or "info" }, to = "console" } });