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

CBG-4069 Restore default nil for loggers #6990

Merged
merged 1 commit into from
Jul 22, 2024
Merged

CBG-4069 Restore default nil for loggers #6990

merged 1 commit into from
Jul 22, 2024

Conversation

adamcfraser
Copy link
Collaborator

@adamcfraser adamcfraser commented Jul 19, 2024

Restoring the previously to support existing nil check handling for non-audit loggers.

In addition to unit tests, verified the following scenarios work as expected:

  • Sync Gateway with no log_file_path defined (original issue)
  • Sync Gateway emitting stats and audit logging

CBG-4069

Integration Tests

Restoring the previously to support existing nil check handling throughout.
Copy link
Member

@bbrks bbrks left a comment

Choose a reason for hiding this comment

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

Looks good.

As mentioned, I followed this up further by making AuditLogger nil-able, but we can leave that until after this release.

https://github.com/couchbase/sync_gateway/tree/CBG-4096-auditLogger

@bbrks bbrks assigned adamcfraser and unassigned bbrks Jul 22, 2024
@adamcfraser adamcfraser merged commit 1986176 into main Jul 22, 2024
38 checks passed
@adamcfraser adamcfraser deleted the CBG-4069 branch July 22, 2024 15:36
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