8000 Multiple issues while changing the timestamp of a log · Issue #542 · googleapis/python-logging · GitHub
[go: up one dir, main page]

Skip to content
Multiple issues while changing the timestamp of a log #542
@simranchanna

Description

@simranchanna

I've tried several methods to change the timestamp of a log being sent to cloud logging, but there are a few problems:

  1. 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)

  2. 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.priority: p3Desirable 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.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0