Log what a sync pass is doing: INFO progress, DEBUG diagnosis, on stderr #5
Loading…
Reference in a new issue
No description provided.
Delete branch "hakalya/fox-66-monitoring-logs"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
FOX-66. sync was silent during a first full scan. It now logs to stderr (stdout and --json unchanged): INFO = start line, scan start/end plus a line every 30 s with folders listed / entries seen / folders queued (no total, no percentage), download progress with a stall warning, one summary per pass that did something, one 'running, nothing to do' line per 15 min for idle passes. DEBUG = phases with durations, retries and waits, one line per downloaded file by item id, problems and events. --log-level or ICLOUD_DRIVE_LOG_LEVEL; journal priority prefixes under systemd. No credential, token, body or content reaches a log call; INFO names no drive entry; URLs are cut to their host. Tests: 166 pass (151 existing + 15 new in tests/test_log.py). Not run against the real service. 🤖 Generated with Claude Code