Skip to content

chore: demote GraphQL request received log to debug level - #1903

Open
jekabs-karklins wants to merge 1 commit into
developfrom
demote-graphql-request-log
Open

jekabs-karklins wants to merge 1 commit into
developfrom
demote-graphql-request-log

Conversation

@jekabs-karklins

@jekabs-karklins jekabs-karklins commented Oct 18, 2026 •

Copy link
Copy Markdown
Contributor

Description

Demotes the GraphQL request received log in apolloServerMetricsPlugin from INFO to DEBUG.

Motivation and Context

I am trying to optimze log count, as we are switcing to new Logging Service and this log is emitted for every frontend GraphQL request. A single page load produces several lines.

Since change is small I am raisinig this PR and also asking for feedback, of we need this to be INFO.

If we want to keep this log at INFO I will update the logger and add optional filtering param regex.

How Has This Been Tested

Backend lint passes. No functional change beyond the log level.

Changes

  • apps/backend/src/middlewares/metrics/apolloServerMetricsPlugin.ts: logger.logInfo changed to logger.logDebug for the request received log.

Depends on

Tests included/Docs Updated?

  • I have added tests to cover my changes.
  • All relevant doc has been updated

The per-request log duplicates the graphql_requests_total metric and adds
several low-value lines per page load at INFO level.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@jekabs-karklins
jekabs-karklins requested a review from a team as a code owner October 18, 2026 12:46
@jekabs-karklins
jekabs-karklins requested review from Bhaswati1148 and removed request for a team October 18, 2026 12:46

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants