Skip to content

Commit

Permalink
[FAB-3428] configtxgen: Report selected configuration
Browse files Browse the repository at this point in the history
This patch simply adds an INFO level log message to indicate
which configuration was ultimately selected.  This may be
helpful to the user since the process for selecting the
config may be automated by the software.  This could be
confusing if the user believes one configuration was in
effect when the system loaded an alternate.

Fixes FAB-3428

Change-Id: I085c4b719c85a9d7d4af86843f89ac819da9b6e4
Signed-off-by: Greg Haskins <[email protected]>
  • Loading branch information
ghaskins committed Apr 26, 2017
1 parent 5f91834 commit b5430b2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions common/configtx/tool/localconfig/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,8 @@ func Load(profile string) *Profile {

result.completeInitialization(filepath.Dir(config.ConfigFileUsed()))

logger.Infof("Loaded configuration: %s", config.ConfigFileUsed())

return result
}

Expand Down

0 comments on commit b5430b2

Please sign in to comment.