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

add enable_logging flag #25

Merged
merged 5 commits into from
Apr 3, 2024
Merged

add enable_logging flag #25

merged 5 commits into from
Apr 3, 2024

Conversation

darthtrevino
Copy link
Member

@darthtrevino darthtrevino commented Apr 2, 2024

The purpose of this PR is to align with how library-users may expect logging to behave.

When we run the indexer using the CLI, we configure a logging stack and emit logs. This is expected, since it's acting as an executable. However, in library mode, this may be integrated in unexpected ways, and users may already have their own sophisticated logging setups, and we don't want the library to establish its own logging pattern as a default.

@darthtrevino darthtrevino requested a review from a team as a code owner April 2, 2024 21:39
@darthtrevino darthtrevino enabled auto-merge (squash) April 3, 2024 18:43
@darthtrevino darthtrevino merged commit 1243856 into main Apr 3, 2024
5 checks passed
@darthtrevino darthtrevino deleted the task/enable_logging_flag branch April 3, 2024 20:23
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