Commit graph

34 commits

Author SHA1 Message Date
Trent Mick
e203c9fa56 fix long-stack-trace error serialization added in 0.14.4 2012-10-11 14:02:48 -07:00
Trent Mick
8a7d743152 [issue #45] Fix bunyan CLI (default output mode) to not crash on a 'res' field that isn't a response object, but a string. 2012-10-10 11:39:29 -07:00
isaacs
c2338b117c JSON.stringify safely 2012-09-10 11:24:39 -07:00
Trent Mick
db836e2ddd Export bunyan.resolveLevel(NAME-OR-NUM) to resolve a level name or number to its log level number value 2012-08-24 16:28:31 -07:00
Trent Mick
121b360b08 [issue #35] Ensure that an accidental log.info(BUFFER), where BUFFER is a node.js Buffer object, doesn't blow up. 2012-08-22 15:04:30 -07:00
Trent Mick
1a9e712dbc [issue #34] body et al in request/response output by bunyan CLI
Ensure `req.body`, `res.body` and other request/response
fields are emitted by the `bunyan` CLI (mostly by Rob Gulewich).
2012-08-21 11:04:33 -07:00
Trent Mick
f0a119a306 [issue #30] Robust handling of 'req' field without a 'headers' subfield in bunyan CLI. 2012-08-08 22:27:49 -07:00
Trent Mick
b0cd1f628d Fix some accidental t.ends() and corpus paths in test cases for 0.11.0. 2012-08-08 22:12:24 -07:00
isaacs
b1ed38af90 Add -c --condition for arbitrary filtering 2012-08-07 17:35:38 -07:00
isaacs
98550dadf5 Add --level -l for level filtering 2012-08-07 17:35:19 -07:00
Michael Hart
ad71b88f96 Added support for Gzip log files 2012-06-22 15:14:56 +10:00
Trent Mick
66afe81ee9 [pull #16] Bullet proof the bunyan.stdSerializers 2012-06-21 17:24:06 -07:00
Trent Mick
1eed1fac19 use RingBuffer.records instead of RingBuffer.enties (related to pull #15) 2012-06-21 14:53:05 -07:00
Trent Mick
37a1447f22 per issue #8 change the way a raw stream is handled
"raw" is now a stream "type" isntead of a separate attribute. The
idea is that writing raw objects (instead of JSON-stringified stings)
to, e.g. a file WriteStream isn't useful. So, lets re-use the stream
"type" field instead of an additional "raw" field.
2012-06-21 14:49:04 -07:00
Dave Pacheco
d23c02371d fix failing test 2012-06-21 13:29:42 -07:00
Dave Pacheco
42d149e167 Merge branch 'master' of github.com:trentm/node-bunyan 2012-06-20 16:28:47 -07:00
Trent Mick
49e3c57030 'make check' fixes 2012-06-20 16:27:41 -07:00
Dave Pacheco
b378560eac use raw stream support 2012-06-20 16:26:28 -07:00
Dave Pacheco
b0daeb6706 Merge branch 'master' of github.com:trentm/node-bunyan 2012-06-20 16:20:54 -07:00
Trent Mick
c5ba5c0147 support for 'raw' streams 2012-06-20 16:04:23 -07:00
Dave Pacheco
cc6a2d0f6e code review comments 2012-06-20 10:39:56 -07:00
Dave Pacheco
f1996fccef add ring buffer stream 2012-06-19 14:44:50 -07:00
Dave Pacheco
f8de9a35d5 Merge branch 'master' of github.com:trentm/node-bunyan 2012-06-19 14:42:10 -07:00
Trent Mick
7e90e07865 Add test/corpus/*.log files (accidentally excluded) so that test suite works 2012-06-05 17:22:25 -07:00
Trent Mick
858150bbd2 pull #21: some style tweaks, add stream to error event args, test case, example, changelog 2012-06-04 23:13:50 -07:00
Dave Pacheco
123d493d27 sort output from multiple sources 2012-05-11 16:22:28 -07:00
Trent Mick
a1c3c17b84 jsstyle clean 2012-04-27 17:40:56 -07:00
Trent Mick
c7d5f8b240 [issue #12] Add bunyan.createLogger(OPTIONS) form, as is more typical in node.js APIs.
This'll eventually become the preferred form.
2012-04-27 16:20:57 -07:00
Trent Mick
6f1433c89b 'make testall' to test against multiple node versions
Change test to look for new ENOENT error message changed in recent
nodes:

      // Note: node v0.6.10:
      //   ENOENT, no such file or directory 'asdf.log'
      // but node v0.6.14:
      //   ENOENT, open 'asdf.log'
      // Somewhat annoying change.
2012-04-10 15:11:55 -07:00
Trent Mick
9feb9c82bd CLI file args: bunyan foo.log bar.log 2012-02-23 21:19:28 -08:00
Trent Mick
40ec83b621 [issue #5] Fix log.info() -> boolean to work properly. Previous all were returning false.
Ditto all trace/debug/.../fatal methods.
2012-02-19 21:42:23 -08:00
Trent Mick
d89444baed Some jsstyle cleaning. 2012-02-10 00:14:33 -08:00
Trent Mick
9f5581b72e issue #3: more type checking of Logger ctor options and log.child options 2012-02-08 10:30:13 -08:00
Trent Mick
450e4eb434 start a test suite 2012-02-08 10:05:56 -08:00