1
0
Fork 0
mirror of https://github.com/FrankerFaceZ/FrankerFaceZ.git synced 2025-09-16 01:56:55 +00:00

Oh yeah, the config option

This commit is contained in:
Kane York 2015-12-16 11:48:37 -08:00
parent 75cf4fbb46
commit 717acb3e40
2 changed files with 4 additions and 2 deletions

View file

@ -96,7 +96,9 @@ func SetupServerAndHandle(config *ConfigFile, serveMux *http.ServeMux) {
resp.Body.Close() resp.Body.Close()
} }
logstasher.Setup(Configuration.ESServer, Configuration.ESIndexPrefix, Configuration.ESHostName) if Configuration.UseESLogStashing {
logstasher.Setup(Configuration.ESServer, Configuration.ESIndexPrefix, Configuration.ESHostName)
}
go authorizationJanitor() go authorizationJanitor()
go bunchCacheJanitor() go bunchCacheJanitor()

View file

@ -31,7 +31,7 @@ type ConfigFile struct {
SSLCertificateFile string SSLCertificateFile string
SSLKeyFile string SSLKeyFile string
UseElasticSearch bool UseESLogStashing bool
ESServer string ESServer string
ESIndexPrefix string ESIndexPrefix string
ESHostName string ESHostName string