#3795 fix: Restore unconditional `stream_name` field in structured logs
Pull request opened by
edgarrmondragon
This is actually how it's documented in the log schema:
sdk/singer_sdk/schemas/logs.schema.json
Lines 136 to 146 in</meltano/sdk/commit/b5cbdcb9353e2d5b71ce14928db9cfb12819d476|b5cbdcb>
| "required": [ |
| -------------- |
| "level", |
| "pid", |
| "logger_name", |
| "ts", |
| "thread_name", |
| "app_name", |
| "stream_name", |
| "message", |
| "extra" |
| ] |
Summary by Sourcery
Restore schema-compliant
stream_name
fields in structured logs and verify formatter output against the log schema.
Bug Fixes:
• Restore the unconditional
stream_name
field in structured log output, including a null value when no stream is specified.
Tests:
• Validate structured log records against the documented JSON schema across formatter tests.
meltano/sdk