From 018ad12a64c61a482f102f36468cbf7aca657a8b Mon Sep 17 00:00:00 2001
From: Abubakr-Sadik Nii Nai Davis <dwa2pac@gmail.com>
Date: Tue, 26 Sep 2017 23:33:47 +0000
Subject: [PATCH] Log benchmark definition file at verbosity level 1.

---
 cmd/common.go | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/cmd/common.go b/cmd/common.go
index 74e2276..b618cff 100644
--- a/cmd/common.go
+++ b/cmd/common.go
@@ -51,8 +51,6 @@ func runChecks(t check.NodeType) {
 	var err error
 	var typeConf *viper.Viper
 
-	glog.V(1).Info(fmt.Sprintf("Using config file: %s\n", viper.ConfigFileUsed()))
-
 	switch t {
 	case check.MASTER:
 		file = masterFile
@@ -91,6 +89,9 @@ func runChecks(t check.NodeType) {
 	s = makeSubstitutions(s, "bin", binmap)
 	s = makeSubstitutions(s, "conf", confmap)
 
+	glog.V(1).Info(fmt.Sprintf("Using config file: %s\n", viper.ConfigFileUsed()))
+	glog.V(1).Info(fmt.Sprintf("Using benchmark file: %s\n", path))
+
 	controls, err := check.NewControls(t, []byte(s))
 	if err != nil {
 		exitWithError(fmt.Errorf("error setting up %s controls: %v", t, err))
-- 
GitLab