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

Gateway - don't log updates on startup #3421

Merged
merged 5 commits into from Oct 18, 2019
Merged

Conversation

trevor-scheer
Copy link
Member

The gateway currently spits out INFO logs about updating schema on both startup and during schema updates. It really should only log "updating schema" if a previous schema exists.

** Also removes extraneous neighboring else block (the same is resolved immediately below)

Copy link
Contributor

@zionts zionts left a comment

Choose a reason for hiding this comment

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

lgtm :)

* Only log "updating schema" if a previous schema exists
* Remove extraneous else block (the same is resolved immediately below)
@trevor-scheer trevor-scheer merged commit e57036a into master Oct 18, 2019
@trevor-scheer trevor-scheer deleted the trevor/gateway-logging branch October 18, 2019 23:00
abernix pushed a commit to apollographql/federation that referenced this pull request Sep 4, 2020
)

Only log "updating schema" if a previous schema exists

In the case of a new schema (on first load), log the service id,
variant, and mode on which the gateway is running. 

Apollo-Orig-Commit-AS: apollographql/apollo-server@e57036a
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 16, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants