[SERVER-47019] Build info log message Created: 20/Mar/20  Updated: 24/Mar/20  Resolved: 24/Mar/20

Status: Closed
Project: Core Server
Component/s: Logging
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: Bruce Lucas (Inactive) Assignee: Mira Carey
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File buildinfo.png    
Issue Links:
Depends
depends on SERVER-46765 mongod --version broken by Structured... Closed
Duplicate
duplicates SERVER-46765 mongod --version broken by Structured... Closed
Operating System: ALL
Participants:

 Description   

The environment document of the build info log message is an array of documents with one field each:

This looks awkward and is difficult to use programmatically. Could this be a single document with multiple fields?



 Comments   
Comment by Bruce Lucas (Inactive) [ 24/Mar/20 ]

Yes, it looks good now, thanks.

Comment by Mira Carey [ 23/Mar/20 ]

I think this has already been addressed in SERVER-46765 in master (and the backport has been requested)

Current log lines in master look like:

{"t":{"$date":"2020-03-23T16:56:56.522-04:00"},"s":"I", "c":"CONTROL", "id":23403,"ctx":"initandlisten","msg":"Build Info","attr":{"buildInfo":{"version":"0.0.0","gitVersion":"unknown","openSSLVersion":"OpenSSL 1.1.1d  10 Sep 2019","modules":[],"allocator":"system","environment":{"distarch":"x86_64","target_arch":"x86_64"}}}}

Does that change address your concern's bruce.lucas?

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