nodeshift / nodeshift/faas-js-runtime

Hide the health check log lines

Open
#315 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
23
Forks
22
PR merge metrics
No merged PRs in 30d

Description

Hi

is there a way to hide health check log lines?
it is quite expensive for a logging system.

{"level":30,"time":1695291091052,"pid":6095,"hostname":"localhost","node_version":"v14.21.3","reqId":"req-8","req":{"method":"GET","url":"/health/liveness","hostname":"localhost:8080","remoteAddress":"::ffff:127.0.0.1","remotePort":62095},"msg":"incoming request"}
{"level":30,"time":1695291091054,"pid":6095,"hostname":"localhost","node_version":"v14.21.3","reqId":"req-8","res":{"statusCode":200},"responseTime":1.2222920656204224,"msg":"request completed"}

Thanks

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing the /health/liveness entry point and the request logging configuration that produces the shown incoming request and request completed records. Determine how health-check requests can be excluded, then verify that those lines disappear without suppressing logs for other requests.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, node.js
Domain
backend, observability
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.