expressjs/morgan
HTTP request logger middleware for node.js observed · 2026-08-28
Health v2 · maintenance only
83/100
- Activity 99
- Release rhythm 54
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 320
- age_days: 4589
- days_rel: 92
- days_push: 7
- n_releases_24m: 2
Adoption not part of the score
8201 stars · 562 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
Morgan is HTTP request logger middleware for Node.js, commonly used with Express. It supports predefined and custom log formats, configurable output streams, and request/response filtering options.
Use cases
- log http requests in express
- access log middleware for node.js
- log only error responses
- custom http log format
- write request logs to a file
- structured logging of http requests
When to choose
- you use Express or Connect and need request logging middleware
- you want simple, configurable access logs with predefined formats like combined or tiny
- you need to route logs to a custom stream or structured logger
When to avoid
- you need a full application-level logging library with levels and transports (use winston or pino)
- you are not running a Node.js HTTP server
- you need distributed tracing rather than request logs
Facets
library · maturity stable
logging middleware http-server web-development backend developer-tools monitoring express http-request-logging access-logs npm nodejs web-server
2 sources
- readme: https://github.com/expressjs/morgan · fetched 2026-08-28 · 4f20fec6ba34
- registry_npm: https://registry.npmjs.org/morgan · fetched 2026-08-29 · d2e28108a1d7
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| expressjs/morgan | main | 83 |
For agents
markdown · JSON · MCP: product_card(name="expressjs/morgan")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem