diff --git a/Settings.md b/Settings.md index 5b45f72..4f14da1 100644 --- a/Settings.md +++ b/Settings.md @@ -18,6 +18,7 @@ - [UseLocalAvatar](#uselocalavatar) - [General](#general) - [IgnoreFailureOnStart](#ignorefailureonstart) + - [LogFile](#logfile) - [MediaDownloadBlacklist](#mediadownloadblacklist) - [MediaDownloadPath](#mediadownloadpath) - [MediaDownloadSize](#mediadownloadsize) @@ -323,6 +324,17 @@ Example: enable it `IgnoreFailureOnStart=true` +## LogFile + +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. + +Setting: OPTIONAL, GENERAL \ +Format: string \ +Example: + +`LogFile="/var/log/matterbridge.log"` ## MediaDownloadBlacklist Allows you to blacklist specific files from being downloaded.