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

Fix Stackdriver Logging errors #245

Merged
merged 1 commit into from
Sep 20, 2019
Merged

Fix Stackdriver Logging errors #245

merged 1 commit into from
Sep 20, 2019

Conversation

daniel-sanche
Copy link
Member

@daniel-sanche daniel-sanche commented Sep 17, 2019

Stackdriver Logging was reporting certain logs as errors for some services. This fixes the issue (related: #101)

  • for Python services, logger.propagate = False prevents the service from logging twice. The second log was appearing as an ERROR in Stackdriver Logging
  • loadgen.sh was sending logs to stderr, which was showing up as errors in Stackdriver. I redirected stderr to stdout, and now logs show up as INFO instead of ERROR. (The problem with this is real errors will also show up as INFO, but I think we'd prefer that to the current situation)

@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Sep 17, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes This human has signed the Contributor License Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants