[DOCS-13517] Investigate changes in SERVER-46843: Structured Logging does not log in ISO-8601 Section 5.6 format Created: 16/Mar/20  Updated: 13/Nov/23  Due: 29/May/20  Resolved: 29/May/20

Status: Closed
Project: Documentation
Component/s: manual, Server
Affects Version/s: None
Fix Version/s: 4.4.0-rc0, 4.7.0, Server_Docs_20231030, Server_Docs_20231106, Server_Docs_20231105, Server_Docs_20231113

Type: Task Priority: Major - P3
Reporter: Backlog - Core Eng Program Management Team Assignee: Andrew Feierabend (Inactive)
Resolution: Fixed Votes: 0
Labels: docs-administration, docs-logging
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Documented
documents SERVER-46843 Structured Logging does not log in IS... Closed
Related
Participants:
Days since reply: 3 years, 36 weeks, 5 days ago
Epic Link: DOCS: 4.4 Server Release Work

 Description   

Description

Downstream Change Summary

Time zone offset now contains a colon between hours and minutes per https://tools.ietf.org/html/rfc3339#section-5.6

Description of Linked Ticket

I was running structured logs through the Java Driver and I think the timestamp format we’re currently using is incorrect, specifically for timezone offsets, according to the Extended JSON Spec. On 4.3.4 I’m getting timestamps like "2020-03-12T17:38:02.344-0400" which does not include a : in the offset -0400 however the extended JSON spec calls out specifically that it only supports timezones in the ISO-8601 “Internet Date/Time Format” which corresponds to section 5.6 of RFC-3339 where the only valid time-numoffset includes a :.

This ticket should track a solution that allows drivers following the extended JSON spec to parse structured logs as extended JSON objects according to spec. That might take the form of changing the timestamp string's format, adjusting the extended JSON spec, or another solution I can't see.

Scope of changes

Impact to Other Docs

MVP (Work and Date)

Resources (Scope or Design Docs, Invision, etc.)



 Comments   
Comment by Githook User [ 29/May/20 ]

Author:

{'name': 'Andrew Feierabend', 'email': 'andrew.feierabend@mongodb.com', 'username': 'andf-mongodb'}

Message: DOCS-13517 update numoffset to conform to ISO-8601
Branch: master
https://github.com/mongodb/docs/commit/592cbe35580ea7f57013e2045845a44a7f357e6c

Generated at Thu Feb 08 08:08:00 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.