claude-memory/graph/code-patterns/debug-missing-data-by-checking-log-timestamps-for-gaps-561c15.md
Cal Corum b140d4d82a migrate: 313 memories from MemoryGraph
- 313 new markdown files created
- 30 relationships embedded
- 313 entries indexed
- State initialized with usage data
2026-02-13 11:11:48 -06:00

13 lines
695 B
Markdown

---
id: 561c1545-05ad-4403-909a-e0fd01ec38d9
type: code_pattern
title: "Debug missing data by checking log timestamps for gaps"
tags: [paper-dynasty, python, debugging, logs, pattern]
importance: 0.6
confidence: 0.8
created: "2025-12-07T23:07:25.114839+00:00"
updated: "2025-12-07T23:07:25.114839+00:00"
---
When data is unexpectedly missing, grep the logs for timestamp gaps to identify script interruptions. Pattern: grep the log file for sequential minutes around the suspected time. A gap (no entries for a minute) indicates the script crashed/was interrupted. Example: 'grep 2025-12-07 13:08 logs/card_creation.log' returned empty, revealing the script died between 13:07:37 and 13:09:23.