Skip to content

Commit

Permalink
log Elasticsearch driver version
Browse files Browse the repository at this point in the history
  • Loading branch information
rwynn committed Sep 12, 2019
1 parent fd45222 commit ec36f61
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions monstache.go
Original file line number Diff line number Diff line change
Expand Up @@ -4369,6 +4369,7 @@ func buildMongoClient(config *configOptions) *mongo.Client {
}
infoLog.Printf("Started monstache version %s", version)
infoLog.Printf("MongoDB go driver %s", mongoversion.Driver)
infoLog.Printf("Elasticsearch go driver %s", elastic.Version)
if mongoInfo, err := getBuildInfo(mongoClient); err == nil {
infoLog.Printf("Successfully connected to MongoDB version %s", mongoInfo.Version)
} else {
Expand Down

0 comments on commit ec36f61

Please sign in to comment.