Hacker GitHub

← All repos

trentm/node-bunyan

View on GitHub ↗ ★ 7,207 JavaScript

a simple and fast JSON logging module for node.js services

7 mentions on Hacker News by 6 people: 1 story, 6 comments · first 2013-09-30 · latest 2023-08-23

Mentions per year 7 mentions · busiest year 2020 (2)
20082026
  1. …in SQLite to retrieve the value: ;SELECT log_raw_text ->> '$.repository' from bunyan [1] - https://github.com/trentm/node-bunyan [2] - https://github.com/tstack/lnav/blob/master/src/formats/bunya... [3] -…
    comment by tstack · 2023-08-23 · in Structured logging with slog
  2. …go, using `log.child`. [2] [1] https://tersesystems.github.io/blindsight/usage/context.html... [2] https://github.com/trentm/node-bunyan#logchild
    comment by wsargent · 2020-07-25 · in Good Logging
  3. …[2] https://tersesystems.github.io/blindsight/usage/buffer.html [3] https://github.com/trentm/node-bunyan#raw--ringbuffer-stream
    comment by wsargent · 2020-07-25 · in Good Logging
  4. I would use a json based logger like https://github.com/trentm/node-bunyan or https://github.com/pinojs/pino and use the elk stack which can parse JSON.
  5. This is a node module but the idea can be applied generally ( https://github.com/trentm/node-bunyan ). Basically you output the logs in the format ops require(Which i assume would be structured) and for devs put a beautifier that parses…
    comment by cosmosgenius · 2017-04-27 · in Ask HN: Best practices for log format?
  6. See https://github.com/trentm/node-bunyan