Skip to content

Feat/diagnose#439

Merged
Sadeequ merged 2 commits into
StellarFlow-Network:mainfrom
nafsonig:feat/diagnose
Jun 2, 2026
Merged

Feat/diagnose#439
Sadeequ merged 2 commits into
StellarFlow-Network:mainfrom
nafsonig:feat/diagnose

Conversation

@nafsonig
Copy link
Copy Markdown
Contributor

@nafsonig nafsonig commented Jun 2, 2026

Changes made

  • Updated winstonLogger.ts

    • Added a structured JSON logger format for file and console output
    • Included timestamp in ISO format
    • Normalized module_name metadata
    • Preserved error context as structured fields (error, error_code, stack, name, message)
    • Removed plain-text console formatting to ensure logs are emitted as JSON blocks
  • Updated logger.ts

    • Changed createFetcherLogger(fetcherName) to return a Winston child logger with module_name set

Notes

  • The repository uses winstonLogger.ts for actual logger behavior rather than a logger.py file.
  • The modified logger now emits structured JSON records suitable for debugging and indexing tools.

Made changes.

Closes #351

@drips-wave
Copy link
Copy Markdown

drips-wave Bot commented Jun 2, 2026

@nafsonig Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@Sadeequ Sadeequ merged commit c3cf004 into StellarFlow-Network:main Jun 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

⚙️ Diagnostics | Standardizing Structured Error Logging Formats

2 participants