Skip to content

Commit b5430b2

Browse files
committed
[FAB-3428] configtxgen: Report selected configuration
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]>
1 parent 5f91834 commit b5430b2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

common/configtx/tool/localconfig/config.go

+2
Original file line numberDiff line numberDiff line change
@@ -194,6 +194,8 @@ func Load(profile string) *Profile {
194194

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

197+
logger.Infof("Loaded configuration: %s", config.ConfigFileUsed())
198+
197199
return result
198200
}
199201

0 commit comments

Comments
 (0)