From 3b2263b529e73565f07f0439fe1743bff5eaf662 Mon Sep 17 00:00:00 2001 From: dat972 Date: Sat, 11 Jul 2026 12:30:16 -0500 Subject: [PATCH] tweaked the verify output so it logs to its own file --- README.md | 4 ++-- config.ini | 1 + fccs_verify.py | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index e6ba629..bc8c673 100644 --- a/README.md +++ b/README.md @@ -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) diff --git a/config.ini b/config.ini index dc6f282..d2e3ecf 100644 --- a/config.ini +++ b/config.ini @@ -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 diff --git a/fccs_verify.py b/fccs_verify.py index 5e28f9b..f52890a 100644 --- a/fccs_verify.py +++ b/fccs_verify.py @@ -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")