Skip to content

GCP Logging Not Capturing Logs in Grape API #2541

@alexwilson1

Description

@alexwilson1

Description:
Our Grape-based API is not sending log entries to Google Cloud Logging, despite following the [GCP Logging for Ruby setup instructions](https://cloud.google.com/logging/docs/setup/ruby).

Steps Taken:

  • Configured ADC with valid credentials.
  • Initialized the logging middleware and logger as described in the docs.
  • Verified that log statements (INFO/ERROR) are executed.

Observation:
The logs are not appearing in GCP. It appears the integration does not work as expected when using Grape.

Request:
Any advice or adjustments needed to support Grape-based applications would be appreciated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions