summaryrefslogtreecommitdiff
path: root/cmd/gotosocial/flag/usage.go
diff options
context:
space:
mode:
authorLibravatar tobi <31960611+tsmethurst@users.noreply.github.com>2021-12-12 18:00:20 +0100
committerLibravatar GitHub <noreply@github.com>2021-12-12 18:00:20 +0100
commitc111b239f7d102ac24a79fbef420af46dfec66f9 (patch)
tree813f5c4501a6e5048fb2922e099ce92d35b33b14 /cmd/gotosocial/flag/usage.go
parentadd systemd service example to packaging (#342) (diff)
downloadgotosocial-c111b239f7d102ac24a79fbef420af46dfec66f9.tar.xz
Add optional syslog logrus hook (#343)
* add optional syslog logrus hook * document syslog
Diffstat (limited to 'cmd/gotosocial/flag/usage.go')
-rw-r--r--cmd/gotosocial/flag/usage.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/cmd/gotosocial/flag/usage.go b/cmd/gotosocial/flag/usage.go
index aa57048c1..ada5ab271 100644
--- a/cmd/gotosocial/flag/usage.go
+++ b/cmd/gotosocial/flag/usage.go
@@ -73,6 +73,9 @@ var usage = config.KeyNames{
SMTPUsername: "Username to authenticate with the smtp server as. Eg., 'postmaster@mail.example.org'",
SMTPPassword: "Password to pass to the smtp server.",
SMTPFrom: "Address to use as the 'from' field of the email. Eg., 'gotosocial@example.org'",
+ SyslogEnabled: "Enable the syslog logging hook. Logs will be mirrored to the configured destination.",
+ SyslogProtocol: "Protocol to use when directing logs to syslog. Leave empty to connect to local syslog.",
+ SyslogAddress: "Address:port to send syslog logs to. Leave empty to connect to local syslog.",
AdminAccountUsername: "the username to create/delete/etc",
AdminAccountEmail: "the email address of this account",
AdminAccountPassword: "the password to set for this account",