Add some debug logging.

This commit is contained in:
Michael Lipp 2023-08-20 19:18:36 +02:00
parent c69ae44395
commit 9ed16f4c3a

View file

@ -311,6 +311,9 @@ public class Runner extends Component {
.ofNullable(config.template).orElse(DEFAULT_TEMPLATE)); .ofNullable(config.template).orElse(DEFAULT_TEMPLATE));
Files.deleteIfExists(templatePath); Files.deleteIfExists(templatePath);
Files.copy(sourcePath, templatePath); Files.copy(sourcePath, templatePath);
logger.fine(() -> "Using template " + sourcePath);
} else {
logger.fine(() -> "Using saved template.");
} }
// Configure data model // Configure data model