Commit graph

435 commits

Author SHA1 Message Date
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
Trent Mick
337d7d977c Add an uncaughtException handler to request a ticket and details.
Looks like this:
    * * *
    * The Bunyan CLI crashed! Please report this issue:
    *
    *    https://github.com/trentm/node-bunyan/issues/new
    *
    * and include the following Bunyan details the log file
    * (or section of log file) on which the Bunyan CLI crashed.
    * * *
    * node version: v0.8.9
    * bunyan version: 0.14.2
    * argv: [ 'node', '/Users/trentm/tm/node-bunyan-0.x/bin/bunyan' ]
    * stack:
    *     TypeError: Object.keys called on non-object
    *         at Function.keys (native)
    *         at emitRecord (/Users/trentm/tm/node-bunyan-0.x/bin/bunyan:718:14)
    *         at handleLogLine (/Users/trentm/tm/node-bunyan-0.x/bin/bunyan:507:12)
    *         at Socket.<anonymous> (/Users/trentm/tm/node-bunyan-0.x/bin/bunyan:856:7)
    *         at Socket.EventEmitter.emit (events.js:88:17)
    *         at Pipe.onread (net.js:391:31)
    * * *
2012-10-10 11:28:03 -07:00
Trent Mick
46c63251a6 prep for future dev 2012-10-09 15:18:07 -07:00
Trent Mick
355824450e prepare for 0.14.1 release 2012-10-09 15:17:51 -07:00
Trent Mick
6c61112793 [issue #44] Fix the default bunyan CLI output of a res.body that is an object instead of a string.
See issue#38 for the same with `req.body`.
2012-10-09 15:17:15 -07:00
Trent Mick
02b5863f46 clarify log level best practices 2012-09-10 12:13:31 -07:00
Trent Mick
d96b1c757f prep for future dev 2012-09-10 12:01:13 -07:00
Trent Mick
60bbab8924 prepare for 0.14.0 release 2012-09-10 12:01:00 -07:00
Trent Mick
830ae26f87 v0.14.0 bump for safe JSON.stringify change 2012-09-10 11:58:19 -07:00
Trent Mick
d2b1b00792 Merge pull request #41 from isaacs/master
JSON.stringify safely
2012-09-10 11:53:19 -07:00
isaacs
c2338b117c JSON.stringify safely 2012-09-10 11:24:39 -07:00
Trent Mick
25fe445cff prep for future dev 2012-08-30 12:17:26 -07:00
Trent Mick
5f03bda42e prepare for 0.13.5 release 2012-08-30 12:17:13 -07:00
Trent Mick
44c54f4167 [issue #39] Fix a bug with client_req handling in the default output of the bunyan CLI. 2012-08-30 12:16:43 -07:00
Trent Mick
a8afc4c30e I don't keep around a recent node 'master' build anymore 2012-08-29 11:42:10 -07:00
Trent Mick
e4737567a1 prep for future dev 2012-08-28 10:41:38 -07:00
Trent Mick
2d33cb072b prepare for 0.13.4 release 2012-08-28 10:41:20 -07:00
Trent Mick
ee6714b568 [issue #38] Fix the default bunyan CLI output of a req.body that is an object instead of a string. 2012-08-28 10:40:58 -07:00
Trent Mick
8d431c4679 prep for future dev 2012-08-24 16:29:22 -07:00
Trent Mick
3d0697c99c prepare for 0.13.3 release 2012-08-24 16:28:58 -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
8cfdd8b76f prep for future dev 2012-08-22 15:05:36 -07:00
Trent Mick
eaf5008227 prepare for 0.13.2 release 2012-08-22 15:04:51 -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
d3dc7dfa4d prep for future dev 2012-08-21 11:06:28 -07:00
Trent Mick
1bd584a170 prepare for 0.13.1 release 2012-08-21 11:06:17 -07:00
Trent Mick
d4722a4172 this is fixed now in typical npm versions I use 2012-08-21 11:06:07 -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
525fdb10fe prep for future dev 2012-08-13 20:16:18 -07:00
Trent Mick
7127d510dc prepare for 0.13.0 release 2012-08-13 20:16:02 -07:00
Trent Mick
ee7e1f2e6b rev to 0.13 2012-08-13 20:15:50 -07:00
Trent Mick
31d7e3477a issue #31: foudn a solution to the bleeding defines using idea from dap. re-instate LEVEL defines in bunyan '-c' code 2012-08-13 20:15:06 -07:00
Trent Mick
d3bdcb54da TODO notes 2012-08-13 20:11:20 -07:00
Trent Mick
01c652bd15 prep for future dev 2012-08-13 16:43:59 -07:00
Trent Mick
ee61228dd8 prepare for 0.12.0 release 2012-08-13 16:43:45 -07:00
Trent Mick
c7e99876d4 rev to 0.12.0 and note the '-o short' change 2012-08-13 16:43:32 -07:00
Trent Mick
5b5e1bf746 Merge pull request #32 from davepacheco/master
add '-o short' to `bunyan` CLI for more concise output
2012-08-13 16:36:52 -07:00
Dave Pacheco
78014a5239 add '-o short' for more concise output 2012-08-13 15:59:59 -07:00
Trent Mick
543b68b187 prep for future dev 2012-08-09 09:30:32 -07:00
Trent Mick
64112eea23 prepare for 0.11.3 release 2012-08-09 09:30:08 -07:00
Trent Mick
4ad39fe8de '--strict' option for CLI 2012-08-09 09:29:50 -07:00
Trent Mick
3303b3cb3d 'utils.puts is so old fashioned' -- isaacs (paraphrased) 2012-08-09 09:10:28 -07:00
Trent Mick
2c5094e49c org options in -h output 2012-08-09 09:08:34 -07:00
Trent Mick
1de6c876d3 tweaks to '-h' output 2012-08-09 09:05:50 -07:00
Trent Mick
19bc3ceb43 prep for future dev 2012-08-08 22:28:41 -07:00
Trent Mick
208b949e00 prepare for 0.11.2 release 2012-08-08 22:28:24 -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
Trent Mick
cfa64e9f97 issue #31: DEBUG et al defines in '-c' scripts bleed into log records 2012-08-08 22:03:57 -07:00
Trent Mick
156d2c4aff bad release 2012-08-08 20:25:15 -07:00