You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Let Cloud Run Job use StructuredLogHandler instead of ClougLoggingHandler #15407
Is your feature request related to a problem? Please describe.
When using Client.get_default_handlerCloudLoggingHandler is being used automatically for Cloud Run jobs resource. And while googleapis/python-logging#877 fixes the missing labels we're still gonna be using background transport when simplier stdout is doing just fine.
Describe alternatives you've considered
Meanwhile I am using handler = StructuredLogHandler(project_id=client.project) instead of handler = client.get_default_handler() where client is client = CloudLoggingClient()
Activity
parthea commentedon Jan 13, 2026
Transferring to google-cloud-python as the code for python-logging will be migrated there in 1-3 weeks.
feat!(logging): Use StructuredLogHandler for Cloud Run Jobs by default
feat(logging)!: Use StructuredLogHandler for Cloud Run Jobs by default
feat(logging)!: Use StructuredLogHandler for Cloud Run Jobs by default