Skip to content

Commit 67127e6

Browse files
committed
fix: restores previous config file location logging behaviour.
1 parent 9d4b6a4 commit 67127e6

File tree

1 file changed

+7
-2
lines changed
  • core/config/src/main/java/io/gatehill/imposter/config/util

1 file changed

+7
-2
lines changed

core/config/src/main/java/io/gatehill/imposter/config/util/ConfigUtil.kt

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ object ConfigUtil {
189189

190190
for (configFile in configFiles) {
191191
try {
192-
LOGGER.debug("Loading configuration file: {}", configFile)
192+
LOGGER.debug("Loading configuration file: {}", configFile.file)
193193
configCount++
194194

195195
// load to determine plugin
@@ -209,7 +209,12 @@ object ConfigUtil {
209209
}
210210
}
211211
}
212-
LOGGER.trace("Loaded $configCount plugin configuration file(s) with $errorCount error(s): $configFiles")
212+
LOGGER.trace(
213+
"Loaded {} plugin configuration file(s) with {} error(s): {}",
214+
configCount,
215+
errorCount,
216+
configFiles
217+
)
213218
return allPluginConfigs
214219
}
215220

0 commit comments

Comments
 (0)