Thanks for stopping by to let us know something could be better!
PLEASE READ: If you have a support contract with Google, please create an issue in the support console instead of filing on GitHub. This will ensure a timely response.
Please run down the following list and make sure you've tried the usual "quick fixes":
If you are still having issues, please be sure to include as much information as possible:
Environment details
- OS type and version: linux
- Python version: 3.9
- pip version:
google-cloud-logging version: 2.4.0
Steps to reproduce
- run the code
- only shows 'Name: %s' in the message field
Code example
handler = StructuredLogHandler()
setup_logging(handler)
name = "Amy"
logging.info('Name: %s', name)
Suggestions
I think GCP_FORMAT["message"] should be "%(message)s"
Making sure to follow these steps will guarantee the quickest resolution possible.
Thanks!
Thanks for stopping by to let us know something could be better!
PLEASE READ: If you have a support contract with Google, please create an issue in the support console instead of filing on GitHub. This will ensure a timely response.
Please run down the following list and make sure you've tried the usual "quick fixes":
If you are still having issues, please be sure to include as much information as possible:
Environment details
google-cloud-loggingversion: 2.4.0Steps to reproduce
Code example
Suggestions
I think GCP_FORMAT["message"] should be "%(message)s"
Making sure to follow these steps will guarantee the quickest resolution possible.
Thanks!