Skip to content

feat: add standardized request logging middleware with latency tracking#115

Open
KGFCH2 wants to merge 2 commits into
kunalverma2512:mainfrom
KGFCH2:feat/logger-middleware
Open

feat: add standardized request logging middleware with latency tracking#115
KGFCH2 wants to merge 2 commits into
kunalverma2512:mainfrom
KGFCH2:feat/logger-middleware

Conversation

@KGFCH2

@KGFCH2 KGFCH2 commented May 31, 2026

Copy link
Copy Markdown
Contributor

Related Issue

Closes #114

Summary

Introduces connection logger with colorized log codes.

Changes Made

  • Created logger.js.
  • Configured middleware registration in app.js.

@vercel

vercel Bot commented May 31, 2026

Copy link
Copy Markdown

@KGFCH2 is attempting to deploy a commit to the Kunal Verma's projects Team on Vercel.

A member of the Team first needs to authorize it.

@coderabbitai

coderabbitai Bot commented May 31, 2026

Copy link
Copy Markdown

Warning

Review limit reached

@KGFCH2, we couldn't start this review because you've reached your PR review rate limit.

More reviews will be available in 55 minutes and 50 seconds. Learn how PR review limits work.

Your organization has run out of usage credits. Purchase more in the billing tab.

⌛ How to resolve this issue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans include higher PR review limits than trial, open-source, and free plans. In all cases, reviews become available again over time. During sustained high-volume PR review activity, CodeRabbit may temporarily slow when the next review becomes available.

Please see our Fair Usage Limits Policy for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 3f5508e8-fc44-4dec-85f7-017abc86a3c3

📥 Commits

Reviewing files that changed from the base of the PR and between 9390870 and 28e9235.

📒 Files selected for processing (2)
  • server/app.js
  • server/middlewares/logger.js
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@github-actions

Copy link
Copy Markdown

🚀 PR Received Successfully

Hello @KGFCH2,

Thank you for taking the initiative to contribute to this project.

Please ensure that your PR follows all project guidelines properly before requesting review.

⚠️ Important Instructions

  • Maintain proper code quality and structure
  • Do not make unnecessary changes/files
  • Ensure responsiveness across devices
  • Follow existing project conventions strictly
  • Attach screenshots/videos for UI-related changes
  • Resolve merge conflicts before requesting review
  • Avoid AI-generated low quality PRs or copied implementations

📌 Mandatory for GSSoC'26 Participants

Joining the community group and announcement channel is compulsory for all contributors participating through GSSoC'26.

Failure to follow contribution guidelines may lead to PR rejection.

We appreciate your effort and wish you a great open-source journey ahead. ✨

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature]: feat: Create request logger middleware with latency tracking

1 participant