[COMPASS-5035] Add logging for the built-in shell Created: 25/Aug/21  Updated: 29/Oct/23  Resolved: 22/Sep/21

Status: Closed
Project: Compass
Component/s: Embedded Shell
Affects Version/s: None
Fix Version/s: 1.29.4

Type: Task Priority: Major - P3
Reporter: Anna Henningsen Assignee: Anna Henningsen
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on MONGOSH-995 browser-repl autocompleter calls fetc... Closed
depends on COMPASS-5031 Create compass-logging helper package... Closed
depends on MONGOSH-1000 Include driver version in service pro... Closed
Epic Link: COMPASS-4361
Story Points: 3
Documentation Changes: Not Needed
Sprint: Iteration Lutz

 Description   

We split out setupLoggerAndTelemetry from mongosh’s cli-repl package into its own @mongosh/logging package. The compass-shell package calls this function with the mongosh bus object that is used in Compass and a MongoshLogWriter created via require(‘@compass/logging’)(‘COMPASS-SHELL’).unbound.



 Comments   
Comment by Githook User [ 05/Oct/21 ]

Author:

{'name': 'Anna Henningsen', 'email': 'anna.henningsen@mongodb.com', 'username': 'addaleax'}

Message: feat(compass-shell): integrate shell logging COMPASS-5035 (#2458)
Branch: electron-13-same-keytar-node-14
https://github.com/mongodb-js/compass/commit/e0022aec39845b7159054d9dd91c8c0810122c8d

Comment by Githook User [ 23/Sep/21 ]

Author:

{'name': 'Anna Henningsen', 'email': 'anna.henningsen@mongodb.com', 'username': 'addaleax'}

Message: feat(compass-shell): integrate shell logging COMPASS-5035 (#2458)
Branch: COMPASS-5047-matrix
https://github.com/mongodb-js/compass/commit/e0022aec39845b7159054d9dd91c8c0810122c8d

Comment by Githook User [ 23/Sep/21 ]

Author:

{'name': 'Anna Henningsen', 'email': 'anna.henningsen@mongodb.com', 'username': 'addaleax'}

Message: feat(compass-shell): integrate shell logging COMPASS-5035 (#2458)
Branch: compass-5048-bundle-compass-plugins-with-webpack
https://github.com/mongodb-js/compass/commit/e0022aec39845b7159054d9dd91c8c0810122c8d

Comment by Githook User [ 22/Sep/21 ]

Author:

{'name': 'Anna Henningsen', 'email': 'anna.henningsen@mongodb.com', 'username': 'addaleax'}

Message: feat(compass-shell): integrate shell logging COMPASS-5035 (#2458)
Branch: main
https://github.com/mongodb-js/compass/commit/e0022aec39845b7159054d9dd91c8c0810122c8d

Comment by Githook User [ 22/Sep/21 ]

Author:

{'name': 'Anna Henningsen', 'email': 'anna@addaleax.net', 'username': 'addaleax'}

Message: feat(compass-shell): integrate shell logging COMPASS-5035
Branch: 5035-dev
https://github.com/mongodb-js/compass/commit/a1956c094a2357723ebe6120bbe9f1655de07713

Comment by Githook User [ 21/Sep/21 ]

Author:

{'name': 'Anna Henningsen', 'email': 'anna.henningsen@mongodb.com', 'username': 'addaleax'}

Message: chore: split setup-logger-and-telemetry into separate package COMPASS-5035 (#1111)

This is done so that the Compass shell can also use the same code
to hook its own logging to the shell’s message bus.
Branch: main
https://github.com/mongodb-js/mongosh/commit/f3f50f53ec859021c6d87b112db3e7efbe803645

Comment by Githook User [ 16/Sep/21 ]

Author:

{'name': 'Anna Henningsen', 'email': 'anna@addaleax.net', 'username': 'addaleax'}

Message: feat(compass-shell): integrate shell logging COMPASS-5035
Branch: 5035-dev
https://github.com/mongodb-js/compass/commit/393b7ddff30cef505b4e9185099cf033096d1b84

Comment by Githook User [ 16/Sep/21 ]

Author:

{'name': 'Anna Henningsen', 'email': 'anna@addaleax.net', 'username': 'addaleax'}

Message: chore: split setup-logger-and-telemetry into separate package COMPASS-5035

This is done so that the Compass shell can also use the same code
to hook its own logging to the shell’s message bus.
Branch: 5035-dev
https://github.com/mongodb-js/mongosh/commit/365a28cc555e1eb8b16fe2c2a185c0df413966d0

Generated at Wed Feb 07 22:38:13 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.