★ wanayoo — archive 1999 https://github.com/graphql-java/graphql-java/pull/1930Nouvelle recherche | Portail wanayoo
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

#1929: Protect logging debug calls with isDebugEnabled() #1930

Merged

Conversation

@fvilla-amazon
Copy link
Contributor

@fvilla-amazon fvilla-amazon commented May 27, 2020

Description:
Protect against potential performance degradation from debug logging by
utilizing the logging libraries isDebugEnabled() check directly.

Changes:

  • Protected all Logger.debug(...) calls with Logger.isDebugEnabled()

Unit Tests:

  • N/A
Description:
Protect against potential performance degradation from debug logging by
utilizing the logging libraries isDebugEnabled() check directly.

Changes:
* Protected all Logger.debug(...) calls with Logger.isDebugEnabled()

Unit Tests:
* N/A
@andimarek
Copy link
Member

@andimarek andimarek commented May 28, 2020

I am happy with that. @bbakerman opinion?
@fvilla-amazon can you resolve the conflicts? thanks

@fvilla-amazon
Copy link
Contributor Author

@fvilla-amazon fvilla-amazon commented May 28, 2020

Thanks @andimarek . I've resolved the conflicts. Hopefully I did it correctly but let me know if there are any issues.

@fvilla-amazon
Copy link
Contributor Author

@fvilla-amazon fvilla-amazon commented Jun 1, 2020

@bbakerman checking in to see your take on this PR? I've resolved the conflicts per @andimarek request

Copy link
Member

@bbakerman bbakerman left a comment

Thanks for this PR

@bbakerman bbakerman merged commit 98bb45a into graphql-java:master Jun 7, 2020
1 check passed
1 check passed
continuous-integration/travis-ci/pr The Travis CI build passed
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

3 participants
You can’t perform that action at this time.