diff options
Diffstat (limited to 'docs/how-to/migration-scripts/30-extract-parse-failures.sh')
| -rwxr-xr-x | docs/how-to/migration-scripts/30-extract-parse-failures.sh | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/docs/how-to/migration-scripts/30-extract-parse-failures.sh b/docs/how-to/migration-scripts/30-extract-parse-failures.sh index 753fd3e..bc2049a 100755 --- a/docs/how-to/migration-scripts/30-extract-parse-failures.sh +++ b/docs/how-to/migration-scripts/30-extract-parse-failures.sh | |||
| @@ -2,7 +2,7 @@ | |||
| 2 | # | 2 | # |
| 3 | # 30-extract-parse-failures.sh - Extract parse failure events from systemd logs | 3 | # 30-extract-parse-failures.sh - Extract parse failure events from systemd logs |
| 4 | # | 4 | # |
| 5 | # PHASE 4a of the ngit-relay to ngit-grasp migration analysis pipeline. | 5 | # PHASE 4a of the GRASP relay to ngit-grasp migration analysis pipeline. |
| 6 | # Extracts structured [PARSE_FAIL] log entries from journalctl. | 6 | # Extracts structured [PARSE_FAIL] log entries from journalctl. |
| 7 | # | 7 | # |
| 8 | # USAGE: | 8 | # USAGE: |
| @@ -42,7 +42,7 @@ | |||
| 42 | # [PARSE_FAIL] log entries. Until those are implemented, this script will | 42 | # [PARSE_FAIL] log entries. Until those are implemented, this script will |
| 43 | # find no matching entries (which is handled gracefully). | 43 | # find no matching entries (which is handled gracefully). |
| 44 | # | 44 | # |
| 45 | # See: docs/how-to/migrate-ngit-relay-to-ngit-grasp.md (Dependencies section) | 45 | # See: docs/how-to/migrate-to-ngit-grasp.md (Dependencies section) |
| 46 | # | 46 | # |
| 47 | # Expected Rust logging code: | 47 | # Expected Rust logging code: |
| 48 | # tracing::warn!( | 48 | # tracing::warn!( |
| @@ -59,7 +59,7 @@ | |||
| 59 | # RUNTIME: Depends on log volume, typically < 30 seconds | 59 | # RUNTIME: Depends on log volume, typically < 30 seconds |
| 60 | # | 60 | # |
| 61 | # SEE ALSO: | 61 | # SEE ALSO: |
| 62 | # docs/how-to/migrate-ngit-relay-to-ngit-grasp.md - Full migration guide | 62 | # docs/how-to/migrate-to-ngit-grasp.md - Full migration guide |
| 63 | # 31-extract-purgatory-expiry.sh - Companion script for purgatory expiry logs | 63 | # 31-extract-purgatory-expiry.sh - Companion script for purgatory expiry logs |
| 64 | # | 64 | # |
| 65 | 65 | ||
| @@ -231,7 +231,7 @@ main() { | |||
| 231 | if [[ "$sample_count" -eq 0 ]]; then | 231 | if [[ "$sample_count" -eq 0 ]]; then |
| 232 | log_warn "No [PARSE_FAIL] entries found in logs." | 232 | log_warn "No [PARSE_FAIL] entries found in logs." |
| 233 | log_warn "This is expected if ngit-grasp logging improvements are not yet deployed." | 233 | log_warn "This is expected if ngit-grasp logging improvements are not yet deployed." |
| 234 | log_warn "See: docs/how-to/migrate-ngit-relay-to-ngit-grasp.md (Dependencies section)" | 234 | log_warn "See: docs/how-to/migrate-to-ngit-grasp.md (Dependencies section)" |
| 235 | fi | 235 | fi |
| 236 | 236 | ||
| 237 | exit 0 | 237 | exit 0 |
| @@ -259,7 +259,7 @@ main() { | |||
| 259 | log_warn "" | 259 | log_warn "" |
| 260 | log_warn " [PARSE_FAIL] kind=30618 event_id=abc123 reason=\"...\" repo=myrepo npub=npub1..." | 260 | log_warn " [PARSE_FAIL] kind=30618 event_id=abc123 reason=\"...\" repo=myrepo npub=npub1..." |
| 261 | log_warn "" | 261 | log_warn "" |
| 262 | log_warn "See: docs/how-to/migrate-ngit-relay-to-ngit-grasp.md (Dependencies section)" | 262 | log_warn "See: docs/how-to/migrate-to-ngit-grasp.md (Dependencies section)" |
| 263 | log_warn "" | 263 | log_warn "" |
| 264 | 264 | ||
| 265 | # Create empty output file with header comment | 265 | # Create empty output file with header comment |