diff options
author | z3bra <contact@z3bra.org> | 2020-07-18 15:46:19 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-18 15:46:19 +0200 |
commit | 213bf349c319811c8cb5458ac24ad9e61c5bbe4d (patch) | |
tree | 5e99075a45f456da330fba602f25b610a17a0d6b /matterbridge.toml.sample | |
parent | a94fe558868c39282530284110b059bd02e67a2d (diff) | |
download | matterbridge-msglm-213bf349c319811c8cb5458ac24ad9e61c5bbe4d.tar.gz matterbridge-msglm-213bf349c319811c8cb5458ac24ad9e61c5bbe4d.tar.bz2 matterbridge-msglm-213bf349c319811c8cb5458ac24ad9e61c5bbe4d.zip |
Add an option to log into a file rather than stdout (#1168)
Use Logfile option in the `[general]` section
Diffstat (limited to 'matterbridge.toml.sample')
-rw-r--r-- | matterbridge.toml.sample | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/matterbridge.toml.sample b/matterbridge.toml.sample index 975078c7..156e1f25 100644 --- a/matterbridge.toml.sample +++ b/matterbridge.toml.sample @@ -1604,6 +1604,14 @@ MediaDownloadBlacklist=[".html$",".htm$"] #OPTIONAL (default false) IgnoreFailureOnStart=false +#LogFile defines the location of a file to write logs into, rather +#than stdout. +#Logging will still happen on stdout if the file cannot be open for +#writing, or if the value is empty. Note that the log won't roll, so +#you might want to use logrotate(8) with this feature. +#OPTIONAL (default empty) +LogFile=/var/log/matterbridge.log + ################################################################### #Tengo configuration ################################################################### |