tweaked the verify output so it logs to its own file
This commit is contained in:
@@ -104,7 +104,7 @@ Batch-check every drawer that has a manifest:
|
|||||||
python fccs_verify.py
|
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):
|
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`).
|
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
|
- **`[timeouts]`** -- nav_timeout, dialog_timeout, progress_appear, progress_finish, settle, confirm_timeout
|
||||||
- **`[controls]`** -- FCCS window class names and button titles (rarely need changing)
|
- **`[controls]`** -- FCCS window class names and button titles (rarely need changing)
|
||||||
|
|||||||
@@ -8,6 +8,7 @@ completed_file = C:\Migration\completed.txt
|
|||||||
ignore_file = C:\Migration\ignore.txt
|
ignore_file = C:\Migration\ignore.txt
|
||||||
crashed_file = C:\Migration\crashed.txt
|
crashed_file = C:\Migration\crashed.txt
|
||||||
log_file = C:\Migration\run_log.txt
|
log_file = C:\Migration\run_log.txt
|
||||||
|
verify_report = C:\Migration\verify_report.txt
|
||||||
screenshot_dir = C:\Migration\screenshots
|
screenshot_dir = C:\Migration\screenshots
|
||||||
manifest_dir = C:\Migration\manifests
|
manifest_dir = C:\Migration\manifests
|
||||||
folder_list = fccs_folders.txt
|
folder_list = fccs_folders.txt
|
||||||
|
|||||||
@@ -24,7 +24,7 @@ from fccs_config import (
|
|||||||
def main():
|
def main():
|
||||||
args = parse_args()
|
args = parse_args()
|
||||||
cfg = load_config(args.config)
|
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")
|
export_dir = cfg.get("paths", "export_dir")
|
||||||
manifest_dir = cfg.get("paths", "manifest_dir")
|
manifest_dir = cfg.get("paths", "manifest_dir")
|
||||||
|
|||||||
Reference in New Issue
Block a user