{"id":23782,"library":"gax-google-logging-v2","title":"GAX Google Logging v2","description":"This library provides a low-level, auto-generated client library (gRPC/HTTP) for the Google Cloud Logging API, generated from the googleapis protobuf definitions. Version 0.8.3 is the final release; it has been superseded by google-cloud-logging. No longer maintained.","status":"deprecated","version":"0.8.3","language":"python","source_language":"en","source_url":"https://github.com/googleapis/googleapis","tags":["google","logging","gax","deprecated"],"install":[{"cmd":"pip install gax-google-logging-v2==0.8.3","lang":"bash","label":"Last published version"}],"dependencies":[],"imports":[{"wrong":"from google.logging.v2 import LoggingServiceV2Client","symbol":"LoggingServiceV2Client","correct":"from google.cloud.logging_v2 import LoggingServiceV2Client"}],"quickstart":{"code":"from google.logging.v2 import LoggingServiceV2Client\nfrom google.logging.v2.log_entry import LogEntry\nfrom google.logging.type import LogSeverity\n\nclient = LoggingServiceV2Client()\nentry = LogEntry(\n    log_name='projects/my-project/logs/test',\n    resource={'type': 'global'},\n    severity=LogSeverity.INFO,\n    text_payload='Hello, world!'\n)\n# Writing via deprecated API - does not support write_log_entries directly\n# Use google-cloud-logging instead\nprint('Client created successfully')","lang":"python","description":"Basic client instantiation and LogEntry creation. Note: this library does not support the write_log_entries RPC directly; it's a lower-level GAX library."},"warnings":[{"fix":"Use google-cloud-logging (pip install google-cloud-logging) instead.","message":"This library is deprecated in favor of google-cloud-logging. Do not use for new projects.","severity":"deprecated","affected_versions":"all"},{"fix":"Use 'from google.logging.v2 import ...'.","message":"The package name on PyPI (gax-google-logging-v2) does not match the import path (google.logging.v2). Many users mistakenly attempt to import from gax_google_logging_v2.","severity":"breaking","affected_versions":"all"},{"fix":"For a user-friendly client, use google-cloud-logging.","message":"This library only provides GAX (gRPC API eXtension) classes; it does not include any high-level client (like google.cloud.logging.Client). You must manually set up credentials, channels, and handle pagination.","severity":"gotcha","affected_versions":"all"},{"fix":"Use google-cloud-logging to write log entries, or manually call the generated stub with a properly constructed WriteLogEntriesRequest.","message":"The google.logging.v2.LoggingServiceV2Client's write_log_entries method may not exist in this library; it was part of a higher-level client. The GAX library exposes the RPC stubs but may require manual proto packaging.","severity":"deprecated","affected_versions":"0.8.x"}],"env_vars":null,"search_vec":"'0.8.3':31 'api':23 'auto':13 'auto-gener':12 'client':15 'cloud':21,43 'definit':29 'deprec':51 'final':34 'gax':1,50 'generat':14,24 'googl':2,20,42,48 'google-cloud-log':41 'googleapi':27 'grpc/http':17 'level':11 'librari':6,16 'log':3,22,44,49 'longer':46 'low':10 'low-level':9 'maintain':47 'protobuf':28 'provid':7 'releas':35 'supersed':39 'v2':4 'version':30","created_at":"2026-05-01T08:09:35.401271+00:00","updated_at":"2026-05-01T08:09:35.401271+00:00","problems":{"verify_error":"Traceback (most recent call last):\n  File \"<string>\", line 1, in <module>\nModuleNotFoundError: No module named 'google.cloud.logging_v2'"},"ecosystem":"pypi","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":"0.8.3","cli_name":"","cli_version":null,"type":"library","homepage":"https://cloud.google.com/logging","github":"https://github.com/googleapis/googleapis","docs":null,"changelog":null,"pypi":"https://pypi.org/project/gax-google-logging-v2/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["gcp","observability","http-networking"],"base_url":null,"auth_type":null,"provenance":{"verified_status":"import_fail","verified_at":"2026-07-03","last_verified":"2026-07-03","next_check":"2026-07-10","install_tag":null}}