tweaked the verify output so it logs to its own file

This commit is contained in:
2026-07-11 12:30:16 -05:00
parent fec7745092
commit 3b2263b529
3 changed files with 4 additions and 3 deletions

View File

@@ -104,7 +104,7 @@ Batch-check every drawer that has a manifest:
python fccs_verify.py
```
Reports each drawer as `OK` or `INCOMPLETE` (listing the missing documents), plus a summary and any exported drawers that have no manifest.
Reports each drawer as `OK` or `INCOMPLETE` (listing the missing documents), plus a summary and any exported drawers that have no manifest. The full report is written to its own file (`verify_report`, default `C:\Migration\verify_report.txt`) as well as the console — separate from the export's `run_log.txt`.
Spot-check specific drawers interactively (e.g. ones the log marked failed, to see whether they actually finished exporting in the background):
@@ -119,6 +119,6 @@ Drawer ID(s): 08097 18430
All scripts read from `config.ini` (or specify `--config path\to\config.ini`).
- **`[paths]`** -- backup_dir, export_dir, output_dir, drawer_id_file, completed_file, ignore_file, crashed_file, log_file, screenshot_dir, manifest_dir, folder_list
- **`[paths]`** -- backup_dir, export_dir, output_dir, drawer_id_file, completed_file, ignore_file, crashed_file, log_file, verify_report, screenshot_dir, manifest_dir, folder_list
- **`[timeouts]`** -- nav_timeout, dialog_timeout, progress_appear, progress_finish, settle, confirm_timeout
- **`[controls]`** -- FCCS window class names and button titles (rarely need changing)

View File

@@ -8,6 +8,7 @@ completed_file = C:\Migration\completed.txt
ignore_file = C:\Migration\ignore.txt
crashed_file = C:\Migration\crashed.txt
log_file = C:\Migration\run_log.txt
verify_report = C:\Migration\verify_report.txt
screenshot_dir = C:\Migration\screenshots
manifest_dir = C:\Migration\manifests
folder_list = fccs_folders.txt

View File

@@ -24,7 +24,7 @@ from fccs_config import (
def main():
args = parse_args()
cfg = load_config(args.config)
log = make_logger(cfg.get("paths", "log_file"))
log = make_logger(cfg.get("paths", "verify_report"))
export_dir = cfg.get("paths", "export_dir")
manifest_dir = cfg.get("paths", "manifest_dir")