4
0
mirror of https://github.com/cwinfo/matterbridge.git synced 2025-07-13 19:36:28 +00:00

Add an option to log into a file rather than stdout (#1168)

Use Logfile option in the `[general]` section
This commit is contained in:
z3bra
2020-07-18 15:46:19 +02:00
committed by GitHub
parent a94fe55886
commit 213bf349c3
3 changed files with 28 additions and 0 deletions

View File

@ -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
###################################################################