All Versions
110
Latest Version
Avg Release Cycle
22 days
Latest Release
-

Changelog History
Page 4

  • v1.3.1 Changes

    • Export bunyan.RotatingFileStream which is needed if one wants to customize it. E.g. see issue #194.

    • ๐Ÿ‘ [pull #122] Source Map support for caller line position for the "src" field. This could be interesting for CoffeeScript users of Bunyan. By Manuel Schneider.

    • [issue #164] Ensure a top-level level given in bunyan.createLogger is used for given streams. For example, ensure that the following results in the stream having a DEBUG level:

      var log = bunyan.createLogger({
          name: 'foo',
          level: 'debug',
          streams: [
              {
                  path: '/var/tmp/foo.log'
              }
          ]
      });
      

    This was broken in the 1.0.1 release. Between that release and 1.3.0 the "/var/tmp/foo.log" stream would be at the INFO level (Bunyan's default level).

  • v1.3.0 Changes

    • [issue #103] bunyan -L (or bunyan --time local) to show local time. Bunyan log records store time in UTC time. Sometimes it is convenient to display in local time.

    • [issue #205] Fix the "The Bunyan CLI crashed!" checking to properly warn of the common failure case when -c CONDITION is being used.

  • v1.2.4 Changes

    • [issue #210] Export bunyan.nameFromLevel and bunyan.levelFromName. It can be a pain for custom streams to have to reproduce that.

    • [issue #100] Gracefully handle the case of an unbound Logger.{info,debug,...} being used for logging, e.g.:

      myEmittingThing.on('data', log.info)
      

    Before this change, bunyan would throw. Now it emits a warning to stderr once, and then silently ignores those log attempts, e.g.:

        bunyan usage error: /Users/trentm/tm/node-bunyan/foo.js:12: attempt to log with an unbound log method: `this` is: { _events: { data: [Function] } }
    
  • v1.2.3 Changes

    • ๐ŸŒฒ [issue #184] Fix log rotation for rotation periods > ~25 days. Before this change, a rotation period longer than this could hit the maximum setTimeout delay in node.js. By Daniel Juhl.
  • v1.2.2 Changes

    • โฌ‡๏ธ Drop the guard that a bunyan Logger level must be between TRACE (10) and FATAL (60), inclusive. This allows a trick of setting the level to FATAL + 1 to turn logging off. While the standard named log levels are the golden path, then intention was not to get in the way of using other level numbers.
  • v1.2.1 Changes

    • [issue #178, #181] Get at least dtrace-provider 0.3.1 for optionalDependencies to get a fix for install with decoupled npm (e.g. with homebrew's node and npm).
  • v1.2.0 Changes

    • โช [issue #157] Restore dtrace-provider as a dependency (in "optionalDependencies").

    Dtrace-provider version 0.3.0 add build sugar that should eliminate the problems from older versions: The build is not attempted on Linux and Windows. The build spew is not emitted by default (use V=1 npm install to see it); instead a short warning is emitted if the build fails.

    Also, importantly, the new dtrace-provider fixes working with node v0.11/0.12.

  • v1.1.3 Changes

    • [issue #165] Include extra err fields in bunyan CLI output. Before this change only the fields part of the typical node.js error stack (err.stack, err.message, err.name) would be emitted, even though the Bunyan library would typically include err.code and err.signal in the raw JSON log record.
  • v1.1.2 Changes

    • ๐Ÿ›  Fix a breakage in log.info(err) on a logger with no serializers.
  • v1.1.1 Changes

    ๐Ÿš€ Note: Bad release. It breaks log.info(err) on a logger with no serializers. ๐Ÿ‘‰ Use version 1.1.2.

    • ๐ŸŒฒ [pull #168] Fix handling of log.info(err) to use the log Logger's err serializer if it has one, instead of always using the core Bunyan err serializer. (By Mihai Tomescu.)