util.startup: Teach prosodyctl to be --quiet as complement to --verbose

Original motivation was tiresome warnings about Lua 5.4 not being
supported yet.

Can still be handy to tweak log level, e.g. to prevent logging to
interfere with command output.
This commit is contained in:
Kim Alvefur 2021-11-28 23:07:35 +01:00
parent 7f2e4b6313
commit 14f31180b5
3 changed files with 21 additions and 3 deletions

View file

@ -1,6 +1,6 @@
.\" Automatically generated by Pandoc 2.17.0.1
.\"
.TH "PROSODYCTL" "1" "2017-09-02" "" ""
.TH "PROSODYCTL" "1" "2022-02-02" "" ""
.hy
.SH NAME
.PP
@ -135,6 +135,12 @@ Don\[cq]t drop root privileges.
.TP
\f[B]\f[CB]--help\f[B]\f[R]
Display help text for the specified command.
.TP
\f[B]\f[CB]--verbose\f[B]\f[R]
Increase log level to show debug messages.
.TP
\f[B]\f[CB]--quiet\f[B]\f[R]
Reduce log level to only show errors.
.SH FILES
.TP
\f[B]\f[CB]/etc/prosody/prosody.cfg.lua\f[B]\f[R]

View file

@ -2,7 +2,7 @@
author:
- Dwayne Bent <dbb.1@liqd.org>
- Kim Alvefur
date: 2017-09-02
date: 2022-02-02
section: 1
title: PROSODYCTL
---
@ -137,6 +137,12 @@ details of how these commands work you should see ejabberdctl(8).
`--help`
: Display help text for the specified command.
`--verbose`
: Increase log level to show debug messages.
`--quiet`
: Reduce log level to only show errors.
# FILES
`/etc/prosody/prosody.cfg.lua`