Skip to content

feat: unified structured logger from lib-node 3 - #44

Merged
albanm merged 1 commit into
masterfrom
feat-unified-logging
Nov 10, 2026
Merged

albanm merged 1 commit into
masterfrom
feat-unified-logging

Conversation

@albanm

@albanm albanm commented Nov 10, 2026

Copy link
Copy Markdown
Member
  • @data-fair/lib-node ^3.0.0, @data-fair/lib-express ^2.0.0, pino-pretty in dev
  • console and internalError replaced by log from @data-fair/lib-node/log.js, error for internal failures only, upstream and owner-reported situations as warn
  • the worker runs each task in a log context (catalogId, taskType, importId / publicationId, owner fields from shared/log-fields.ts)
  • eslint no-console on api, worker and shared server code
  • logging conventions in AGENTS.md

BREAKING CHANGE: logs are JSON lines on stdout in production, identified by their code field, log routes matching the old output must be adapted.

- @data-fair/lib-node ^3.0.0, @data-fair/lib-express ^2.0.0, pino-pretty in dev
- console and internalError replaced by log from @data-fair/lib-node/log.js,
  error for internal failures only, upstream and owner-reported situations as warn
- the worker runs each task in a log context (catalogId, taskType,
  importId / publicationId, owner fields from shared/log-fields.ts)
- eslint no-console on api, worker and shared server code
- logging conventions in AGENTS.md

BREAKING CHANGE: logs are JSON lines on stdout in production, identified by
their code field, log routes matching the old output must be adapted.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@albanm
albanm merged commit bc6c2b0 into master Nov 10, 2026
4 checks passed
@albanm albanm changed the title feat!: unified structured logger from lib-node 3 feat: unified structured logger from lib-node 3 Nov 10, 2026
@albanm
albanm deleted the feat-unified-logging branch November 10, 2026 10:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant