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:
@ -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
|
||||
###################################################################
|
||||
|
Reference in New Issue
Block a user