# winston

> Node.js logging library with multiple transports, levels and formats

Source: https://talira.ai/catalog/winston-aa9heb9n
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Library
- Categories: [libraries / logging](https://talira.ai/categories/libraries/logging), [languages / javascript](https://talira.ai/categories/languages/javascript)
- Licence: MIT[^2]
- Pricing: Free and open source[^2]
- Free tier: yes[^2]
- Backed by: [winstonjs](https://talira.ai/orgs/winstonjs.md)

winston is a logging library for Node.js built around transports: each logger can send logs to several destinations, such as the console, files or remote services, each at its own level. Formats are composable and customisable, levels follow RFC 5424's ordering or your own, and it can also catch uncaught exceptions and promise rejections, profile code, and stream or query logs. Community packages add transports for many log services.

## Links

- GitHub: https://github.com/winstonjs/winston

## Problems it solves

- send my Node app's errors to a file and everything else to the console
- log to several places at different levels from one Node.js logger
- catch uncaught exceptions in Node and write them to a log before exiting

## Features

- multiple transports per logger, each with its own level
- composable and custom formats
- RFC 5424 levels or custom levels
- handling of uncaught exceptions and promise rejections
- profiling, log streaming and log queries

## Limitations

- The default logger has no transports, and leaving it without any can use a lot of memory.[^1]

## Trust

Overall: 0.48 out of 1.
Signals: maintenance 0.27, adoption 0.88, momentum 0.64, community 1.00, backing 0.30, extensibility 0.00.

- latest release v3.19.0 11 months ago
- 24.5k GitHub stars
- 413 contributors
- backed by winstonjs

Warnings:

- last commit 4 months ago

## Alternatives

- [Pino](https://talira.ai/catalog/pino-zdztm5zk.md): Super fast, all natural JSON logger for Node.js
- [debug](https://talira.ai/catalog/debug-8wzmtey5.md): Tiny namespaced debug logging for Node.js and the browser, switched on with DEBUG

## Sources

[^1]: https://github.com/winstonjs/winston/blob/master/README.md (checked 29 Nov 2026)
[^2]: https://github.com/winstonjs/winston/blob/master/LICENSE (checked 29 Nov 2026)
