Use case or problem
In a team setting, using headless sync in CI/CD to pull changes into a git repository, so that we have a backup and can track changes automatically. It would be really helpful if the sync log ( ~/.config/obsidian-headless/...../sync.log ) included some metadata for each file transfer - the name and perhaps device which last modified it, and the timestamp of that change.
Proposed solution
If that metadata is not available in the underlying sync API, this would be tricky, but hopefully it is. My solution would be to update the log messages like this, adding a JSON object on the end - it's easy to parse and could be extended later.
2026-03-06 10:04 - Downloading file GetJohn Doc Box/Customers/xxxx/Server and File Structure.md
2026-03-06 10:04 - Download complete GetJohn Doc Box/Customers/xxxx/Server and File Structure.md {“user”:“john”,“updated_at”:“2026-03-01 12:14:00+0000”}
2026-03-06 10:04 - Accepted GetJohn Doc Box/Customers/xxxx/Server and File Structure.md {“user”:“john”,“updated_at”:“2026-03-01 12:14:00+0000”,“device”:“Laptop-12345”}
2026-03-06 10:04 - Fully synced
Current workaround
I’m working on a plugin which would add this metadata as frontmatter tags.