Browse Source

Log: add information statement

Adding information that when config file is used other command line flags
and env variables will be ignored. This changes are a follow up of a
disucssion under PR,
https://github.com/coreos/etcd/pull/9066
Sahdev P. Zala 8 years ago
parent
commit
8a8aff198f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      etcdmain/config.go

+ 1 - 1
etcdmain/config.go

@@ -247,7 +247,7 @@ func (cfg *config) parse(arguments []string) error {
 
 
 	var err error
 	var err error
 	if cfg.configFile != "" {
 	if cfg.configFile != "" {
-		plog.Infof("Loading server configuration from %q", cfg.configFile)
+		plog.Infof("Loading server configuration from %q. Other configuration command line flags and environment variables will be ignored if provided.", cfg.configFile)
 		err = cfg.configFromFile(cfg.configFile)
 		err = cfg.configFromFile(cfg.configFile)
 	} else {
 	} else {
 		err = cfg.configFromCmdLine()
 		err = cfg.configFromCmdLine()