Skip to content

Conversation

jeff-allen-mongo
Copy link
Collaborator

@jeff-allen-mongo jeff-allen-mongo commented Mar 3, 2025

DESCRIPTION

Customize log storage size.

STAGING

JIRA

https://jira.mongodb.org/browse/DOCSP-47980

Self-Review Checklist

  • Is this free of any warnings or errors in the RST?
  • Is this free of spelling errors?
  • Is this free of grammatical errors?
  • Is this free of staging / rendering issues?
  • Are all the links working?

External Review Requirements

What's expected of an external reviewer?

Copy link

netlify bot commented Mar 3, 2025

Deploy Preview for docs-mongodb-shell ready!

Name Link
🔨 Latest commit c9d7d59
🔍 Latest deploy log https://app.netlify.com/sites/docs-mongodb-shell/deploys/67c898cc81e0a40008981809
😎 Deploy Preview https://deploy-preview-387--docs-mongodb-shell.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link
Collaborator

@kennethdyer kennethdyer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @jeff-allen-mongo, LGTM!

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

To instruct |mdb-shell| to not delete logs based on storage size, set
``logRetentionGB`` to ``Infinity``. You can perform this action through
Copy link

@gagik gagik Mar 5, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it's good to leave it like this

just fyi: undefined (the default, unset value) would also do this.

it'd be more performant with undefined at the moment but this is something we can quickly fix to work the same with Infinity so I don't mind leaving it here.
cc: @addaleax @alenakhineika

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

created mongodb-js/devtools-shared#515 to address this

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Got it - Thanks for the context and for filing the ticket.

@jeff-allen-mongo jeff-allen-mongo merged commit cb71e8a into mongodb:master Mar 5, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants