-
Type: Story
-
Resolution: Works as Designed
-
Priority: Major - P3
-
Affects Version/s: 1.28.1
-
Component/s: Compass, Embedded Shell
-
None
-
Environment:MacOS 10.14.6
-
Not Needed
Problem Statement/Rationale
What is going wrong?
No log lines recorded in ~/.mongodb/mongosh/mongosh_repl_history when using embedded mongosh in Compass
Compass itself does not have a log. Since standalone mongosh has a logging function, it would be useful. Also, commands from Compass' embedded mongosh need to be differentiated from standalone mongosh (unless the commands will go into a completely separate file).
Steps to Reproduce
How could an engineer replicate the issue you’re reporting?
Open Compass and connect to a database.
Open embedded mongosh
type "show dbs" and any commands
Expected Results
What do you expect to happen?
See user-entered commands in the mongosh_repl_history file, preferably with a timestamp.
Actual Results
What do you observe is happening?
File is unchanged (blank with 0 bytes).
Additional Notes
Any additional information that may be useful to include.
Please also check on Compass Windows platform also. Log file is in a different directory.
Is the .mongodb/mongosh/config file option for useTelemetry working? Does telemetry include log data? Either true|false, nothing is logged in mongosh_repl_history.