Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Optimize Middleware for Logging Requests #26

Open
Somya2010 opened this issue Feb 1, 2025 · 1 comment
Open

Optimize Middleware for Logging Requests #26

Somya2010 opened this issue Feb 1, 2025 · 1 comment
Labels
enhancement New feature or request good first issue Good for newcomers IWOC2025 Medium

Comments

@Somya2010
Copy link
Member

Description

The project lacks proper logging for incoming requests. Adding a logging middleware will improve debugging.

Steps to Implement

  1. Install morgan for request logging (npm install morgan).
  2. Configure morgan in server.js to log API requests.
  3. Test logging output in the console.

Expected Outcome

A clear log of API requests for easier debugging.

@Durgesh4993 Durgesh4993 added enhancement New feature or request good first issue Good for newcomers Medium IWOC2025 labels Feb 1, 2025
@Shiv10122003
Copy link

please assign issue to me under iwoc

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers IWOC2025 Medium
Projects
None yet
Development

No branches or pull requests

3 participants