-
Type: Task
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
-
3
-
Iteration Kampala
-
Not Needed
We have already modified mongosh to use the logv2 format. We split out the parts of mongosh that support this feature (MongoLogManager, MongoLogWriter etc.) into a separate repository and npm package, and then make mongosh use that new package.
We add a boolean gzip flag to the MongoLogManager options, which enables gzip compression when writing to the output files.
Additionally, we make the target stream underlying a MongoLogWriter publicly accessible through a getter, and we add a MongoLogWriter.bindComponent(component) helper which creates an object with info, warn, error, fatal methods that behave like the corresponding ones on MongoLogWriter, except with the component fixed to the indicated value. This helper object has a .unbound property that points to the original MongoLogWriter.
- is depended on by
-
COMPASS-5031 Create compass-logging helper package and log connection attempts
- Closed