expressjs/morgan
HTTP request logger middleware for node.js observed · 2026-10-13
Health v2 · maintenance only
93/100
- Activity 97
- Release rhythm 83
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-10-21. Adoption (stars, forks) is never an input.
- gap_med: 86
- age_days: 4637
- days_rel: 39
- days_push: 19
- n_releases_24m: 4
Adoption not part of the score
8200 stars · 568 forks observed · 2026-10-13
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-10-13 · 4f20fec6ba34
- registry_npm: https://registry.npmjs.org/morgan · fetched 2026-08-29 · d2e28108a1d7
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| expressjs/morgan | main | 93 |
For agents
markdown · JSON · MCP: product_card(name="expressjs/morgan")
Data as of 2026-10-19T08:05:51.212177+00:00 · Report a problem