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

Generating different level of logs in cloud function #346

Conversation

Satendra-SR
Copy link
Member

@Satendra-SR Satendra-SR commented Feb 8, 2023

#337

Please complete the following steps and check these boxes before filing your PR:

Types of changes

  • Bug fix (a change which fixes an issue)
  • New feature (a change which adds functionality)

Short description of what this resolves:

Why these change required? What problem does it solve?

  • Added google-cloud-logging in requirement.txt to ensure that the package will be installed in the production environment.
  • Added log_client.setup_logging() to get log messages generated by the Google Cloud Client Library for Python sent to the appropriate log in the Google Cloud Console, and allows to see any error messages or warnings generated by your code or the library itself.

Checklist:

  • I have performed a self-review of my own code.
  • The code follows the style guidelines of this project.
  • The code changes are passing the CI checks
  • I have documented my code wherever required.
  • The changes requires a change to the documentation.
  • I have updated the documentation based on the my changes.

@Satendra-SR Satendra-SR self-assigned this Feb 8, 2023
@Satendra-SR Satendra-SR changed the title Feature/337/generating different level of logs in cloud function Generating different level of logs in cloud function Feb 8, 2023
Copy link
Contributor

@GauravGusain98 GauravGusain98 left a comment

Choose a reason for hiding this comment

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

LGTM

@Satendra-SR Satendra-SR merged commit 23205c9 into develop Feb 9, 2023
@Satendra-SR Satendra-SR deleted the feature/337/generating-different-level-of-logs-in-cloud-function branch February 9, 2023 06:38
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