Uploaded image for project: 'Compass '
  1. Compass
  2. COMPASS-7337

Unable to decompress log file while Compass is still running

    • Type: Icon: Bug Bug
    • Resolution: Works as Designed
    • Priority: Icon: Minor - P4 Minor - P4
    • No version
    • 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.

            Assignee:
            Unassigned Unassigned
            Reporter:
            jeff.yemin@mongodb.com Jeffrey Yemin
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: