Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(cli-repl): add configuration to enable log compression MONGOSH-1986 #2362

Merged
merged 1 commit into from
Feb 10, 2025

Conversation

gagik
Copy link
Contributor

@gagik gagik commented Feb 10, 2025

Adds logCompressionEnabled option and tests.

@gagik gagik changed the title feat(cli-repl): add configuration to enable log compression feat(cli-repl): add configuration to enable log compression MONGOSH-1986 Feb 10, 2025
@gagik gagik requested a review from alenakhineika February 10, 2025 09:13
@gagik gagik force-pushed the gagik/add-log-compression branch from f1163e0 to d2b37ec Compare February 10, 2025 12:28
@gagik gagik changed the title feat(cli-repl): add configuration to enable log compression MONGOSH-1986 feat(cli-repl): add configuration to enable log compression MONGOSH-1986 Feb 10, 2025
@gagik gagik force-pushed the gagik/add-log-compression branch from d2b37ec to 7a95ddb Compare February 10, 2025 12:33
@@ -325,6 +325,7 @@ describe('CliRepl', function () {
'logLocation',
'logRetentionDays',
'logMaxFileCount',
'logCompressionEnabled',
Copy link
Contributor Author

Choose a reason for hiding this comment

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

could naming this enableLogCompression be more consistent with disableGreetingMessage, disableLogging, enableTelemetry?

Copy link
Contributor

Choose a reason for hiding this comment

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

We've had this conversation in the tech design and decided that we'd go for disableXYZ/enableXYZ only for the top-level features, but use the xyzDetailedOption for the detailed configuration of each individual feature

@gagik gagik merged commit 88cf836 into main Feb 10, 2025
132 of 135 checks passed
@gagik gagik deleted the gagik/add-log-compression branch February 10, 2025 16:14
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.

2 participants