-
Type: Bug
-
Resolution: Works as Designed
-
Priority: Minor - P4
-
Affects Version/s: None
-
Component/s: Logging
-
None
-
Environment:OS: OSX
Compass Version 1.40.3
-
Not Needed
Problem Statement/Rationale
What is going wrong? What action would you like the Engineering team to take?
The "current" Compass log file is not readable until Compass is shut down.
Please be sure to attach relevant logs with any sensitive data redacted.
How to retrieve logs for: Compass; Shell
Steps to Reproduce
How could an engineer replicate the issue you’re reporting?
- Help => Open Log File
- Copy to Clipboard
- Open a terminal and gunzip the path from the clipboard. gunzip fails with an error
- Shutdown Compass
- gunzip again. Now it succeeds
Expected Results
What do you expect to happen?
The log file can be uncompressed while Compass is still running
Actual Results
What do you observe is happening?
I get an error:
~/.mongodb/compass$ gunzip 65271050f5e1ead47a2a48d6_log.gz gunzip: 65271050f5e1ead47a2a48d6_log.gz: unexpected end of file gunzip: 65271050f5e1ead47a2a48d6_log.gz: uncompress failed
After shutting down Compass, I can uncompress the file.
Additional Notes
Any additional information that may be useful to include.