mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
Merge pull request #9069 from spzala/logconfigfile
Log: add information statement
This commit is contained in:
commit
fdec12cc20
@ -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()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user