Skip to content

Logging: grace_period & batch_size needs to get passed to _Worker in BackgroundThreadTransport #4365

@mytran

Description

@mytran

grace_period & batch_size needs to get passed to _Worker:
https://github.com/GoogleCloudPlatform/google-cloud-python/blob/6c602823e7101b40dfe5bfc614da633beb8accfb/logging/google/cloud/logging/handlers/transports/background_thread.py#L258

Ran into this issue because we're using BackgroundThreadTransport and I'm trying to override the default grace period on shutdown.

Metadata

Metadata

Labels

api: loggingIssues related to the Cloud Logging API.priority: p2Moderately-important priority. Fix may not be included in next release.

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions