Skip to content

Commit

Permalink
Add a log when loading a YAML file (#3916)
Browse files Browse the repository at this point in the history
For consistency with other model files loading.

Signed-off-by: Laurent Garnier <[email protected]>
  • Loading branch information
lolodomo authored Dec 13, 2023
1 parent 8082daa commit 4b92db3
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,7 @@ private void processWatchEvent(String dirName, Kind kind, Path fullPath, YamlMod

private AbstractYamlFile readYamlFile(Path path, Class<? extends AbstractYamlFile> dtoClass)
throws YamlParseException {
logger.info("Loading model '{}'", path.toFile().getName());
logger.debug("readYamlFile {} with {}", path.toFile().getAbsolutePath(), dtoClass.getName());
try {
AbstractYamlFile dto = yamlReader.readValue(path.toFile(), dtoClass);
Expand Down

0 comments on commit 4b92db3

Please sign in to comment.