Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

bunyan

Package Overview
Dependencies
Maintainers
1
Versions
112
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bunyan - npm Package Versions

1
12

0.13.5

Diff

Changelog

Source

0.13.5

  • [issue #39] Fix a bug with client_req handling in the default output of the bunyan CLI.
trentm
published 0.13.4 •

Changelog

Source

0.13.4

  • [issue #38] Fix the default bunyan CLI output of a req.body that is an object instead of a string.
published 0.13.3 •

Changelog

Source

0.13.3

  • Export bunyan.resolveLevel(NAME-OR-NUM) to resolve a level name or number to its log level number value:

      > bunyan.resolveLevel('INFO')
      30
      > bunyan.resolveLevel('debug')
      20
    

    A side-effect of this change is that the uppercase level name is now allowed in the logger constructor.

published 0.13.2 •

Changelog

Source

0.13.2

  • [issue #35] Ensure that an accidental log.info(BUFFER), where BUFFER is a node.js Buffer object, doesn't blow up.
published 0.13.1 •

Changelog

Source

0.13.1

  • [issue #34] Ensure req.body, res.body and other request/response fields are emitted by the bunyan CLI (mostly by Rob Gulewich).
published 0.13.0 •

Changelog

Source

0.13.0

  • [issue #31] Re-instate defines for the (uppercase) log level names (TRACE, DEBUG, etc.) in bunyan -c "..." filtering condition code. E.g.:

      $ ... | bunyan -c 'level >= ERROR'
    
published 0.12.0 •

Changelog

Source

0.12.0

  • [pull #32] bunyan -o short for more concise output (by Dave Pacheco). E.g.:

      22:56:52.856Z  INFO myservice: My message
    

    instead of:

      [2012-02-08T22:56:52.856Z]  INFO: myservice/123 on example.com: My message
    
published 0.11.3 •

Changelog

Source

0.11.3

  • Add '--strict' option to bunyan CLI to suppress all but legal Bunyan JSON log lines. By default non-JSON, and non-Bunyan lines are passed through.
published 0.11.2 •

Changelog

Source

0.11.2

  • [issue #30] Robust handling of 'req' field without a 'headers' subfield in bunyan CLI.
  • [issue #31] Pull the TRACE, DEBUG, et al defines from bunyan -c "..." filtering code. This was added in v0.11.1, but has a significant adverse affect.
published 0.11.0 •

Changelog

Source

0.11.0

  • [pull #29] Add -l/--level for level filtering, and -c/--condition for arbitrary conditional filtering (by github.com/isaacs):

      $ ... | bunyan -l error   # filter out log records below error
      $ ... | bunyan -l 50      # numeric value works too
      $ ... | bunyan -c 'level===50'              # equiv with -c filtering
      $ ... | bunyan -c 'pid===123'               # filter on any field
      $ ... | bunyan -c 'pid===123' -c '_audit'   # multiple filters
    
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc