Add logging about planned changes in safe mode

This commit is contained in:
RatzzFatzz
2025-12-20 19:32:46 +01:00
parent fa84c483d9
commit 1e31326ea2
2 changed files with 6 additions and 2 deletions

View File

@@ -87,7 +87,10 @@ public abstract class AttributeUpdater {
if (!fileInfo.getChanges().isEmpty()) {
statistic.changePlanned();
if (config.isSafeMode()) return;
if (config.isSafeMode()) {
log.info("Planned changes [{}] for {}", changeLog(fileInfo), fileInfo.getFile().getPath());
return;
}
try {
log.info("Committing changes [{}] to {}", changeLog(fileInfo), fileInfo.getFile().getPath());