diff --git a/pghoard/pghoard.py b/pghoard/pghoard.py index 632a19aa..ac912631 100644 --- a/pghoard/pghoard.py +++ b/pghoard/pghoard.py @@ -961,6 +961,7 @@ def _rename_partial_files_if_completed(self, site: str, wal_location: str) -> No # TODO: handle partial files that are incompleted return + self.log.info("Found a completed partial WAL file %r, renaming before shutdown.", partial_file_path) # this will not trigger inotify os.rename(partial_file_path, renamed_partial_file_path)