Skip to content

Commit 8a76610

Browse files
committed
[config] Also log the --force parameter
1 parent 1069e68 commit 8a76610

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/CommandLineUtilities/ProgramConfig.cxx

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -242,6 +242,10 @@ class ProgramConfig : public Program
242242
}
243243

244244
Logger::get() << "Configuring card " << cardId << " with command line arguments" << LogDebugOps_(4600) << endm;
245+
if (mOptions.forceConfig) {
246+
Logger::get() << "`--force` enabled" << LogDebugOps_(4600) << endm;
247+
}
248+
245249
try {
246250
CardConfigurator(params, mOptions.forceConfig);
247251
} catch (const std::runtime_error& e) {
@@ -253,6 +257,10 @@ class ProgramConfig : public Program
253257
}
254258
} else {
255259
Logger::get() << "Configuring card " << cardId << " with config uri: " << mOptions.configUri << LogDebugOps_(4600) << endm;
260+
if (mOptions.forceConfig) {
261+
Logger::get() << "`--force` enabled" << LogDebugOps_(4600) << endm;
262+
}
263+
256264
try {
257265
CardConfigurator(cardId, mOptions.configUri, mOptions.forceConfig);
258266
} catch (const std::runtime_error& e) {

0 commit comments

Comments
 (0)