Commit 6ecf858b authored by Joerg-Holger Panzer's avatar Joerg-Holger Panzer
Browse files

Add debug log output

parent a58fd111
Pipeline #298541 passed with stages
in 8 minutes and 10 seconds
......@@ -417,6 +417,7 @@ func init() {
log.SetOutput(os.Stdout)
log.SetReportCaller(true)
log.Infof("ES HOST: '%s', Index: '%s'", config.ElasticsearchHost, config.LogESIndex)
if config.ElasticsearchHost != "" && config.LogESIndex != "" {
client, err := elastic.NewClient(elastic.SetURL(config.ElasticsearchHost), elastic.SetSniff(false))
if err != nil {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment