-
Notifications
You must be signed in to change notification settings - Fork 56
Closed
Labels
2023-triageapi: loggingIssues related to the googleapis/python-logging API.Issues related to the googleapis/python-logging API.priority: p3Desirable enhancement or fix. May not be included in next release.Desirable enhancement or fix. May not be included in next release.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
Description
I've tried several methods to change the timestamp of a log being sent to cloud logging, but there are a few problems:
-
I'm able to send data only in the past and not in the future while using API directly - (whereas according to the documentation https://cloud.google.com/logging/docs/reference/v2/rest/v2/entries/write the timestamp value can be maximum 24 hours in the future)
-
I'm passing the timestamp value while calling the struct_log method and that timestamp is passed internally in the library functions to where API is called, but that doesn't work at all and as a result, no log is created.
Metadata
Metadata
Assignees
Labels
2023-triageapi: loggingIssues related to the googleapis/python-logging API.Issues related to the googleapis/python-logging API.priority: p3Desirable enhancement or fix. May not be included in next release.Desirable enhancement or fix. May not be included in next release.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.Error or flaw in code with unintended results or allowing sub-optimal usage patterns.