Skip to content

Conversation

@JPrevost
Copy link
Member

Our logging for ES calls was way too verbose. This defaults to INFO which seems good, but leaves the ability to easily move to DEBUG if we need the verbosity.

Also clarifies how to fully disable ES logging in README.

How can a reviewer manually see the effects of these changes?

In the master branch, or in our central logging, take a look at ES queries and note that if ELASTICSEARCH_LOG is set to anything the full es response was being logged.

On this branch, set ELASTICSEARCH_LOG to anything and note the verbosity is now at a nice INFO level. You can set ES_LOG_LEVEL to DEBUG to easily return to the mess that was there before.

Requires Database Migrations?

NO

Includes new or updated dependencies?

NO

Our logging for ES calls was way too verbose. This defaults to INFO which seems good, but leaves the ability to easily move to DEBUG if we need the verbosity.

Also clarifies how to fully disable ES logging in README.
Copy link

@gravesm gravesm left a comment

Choose a reason for hiding this comment

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

Aside from the deeply unsettlingexpressive nature of Ruby, looks good.

@JPrevost JPrevost merged commit f31e239 into master Jul 16, 2020
@JPrevost JPrevost deleted the tune_logs branch July 16, 2020 18:50
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