Commit graph

677 commits

Author SHA1 Message Date
Trent Mick
0d62f8a890 Correct some bunyan CLI exit handling.
This cleans up exit handling and stdout flushing on exit after some
lessons learned with https://github.com/joyent/node-exeunt
This also improves internal bunyan dev debugging via the
`BUNYAN_SELF_TRACE=1` envvar to help trace what was happening with
the issues described in #499.

Fixes #499
2017-05-03 23:21:59 -07:00
Trent Mick
2a5bdd231a some updated TODOs for 2.x work 2017-05-03 23:16:14 -07:00
Trent Mick
f812975f0f README updates for current status (master for 2.x work now), some TODO updates 2017-04-15 18:07:58 -07:00
Trent Mick
13c86f1d15 v1.8.10 2017-04-04 23:34:07 -07:00
Trent Mick
1d511793f0 some TODO thoughts for a 2.x 2017-04-04 23:27:39 -07:00
Trent Mick
a75df963f6 Avoid XXX for these style names, none seems more descriptive. This should have no functional effect. 2017-04-04 23:27:20 -07:00
Trent Mick
58846afa89 fix bunyan CLI guard against -p and file args usage at the same time (was broken a while back) 2017-04-04 23:21:29 -07:00
Greg Walden
994f90eb83 note how to add streams in the readme 2017-03-20 23:00:46 -07:00
Trent Mick
34f4469a25 v1.8.9; changelog update for #409 2017-03-20 22:25:15 -07:00
Zach Bjornson
aff022bb2e fix(bin): don't ignore SIGINT
Ignoring SIGINT can make the process interminable. The emitting node process should instead ignore EPIPE.

Reverts #161, Fixes #246
2017-03-20 22:17:12 -07:00
Trent Mick
f4fff7b7fa update readme toc 2017-03-08 09:27:15 -08:00
Trent Mick
b33b7e523d add notes about writing good serializer functions, prompted from issue #464 2017-03-07 19:02:13 -08:00
Trent Mick
b66571f113 formatting 2017-03-06 11:24:11 -08:00
Trent Mick
a778ea5697 TODO notes for change to allow new config fields 2017-03-04 13:44:57 -08:00
Trent Mick
4d4663758e example to log undefined vals (related to pull #473)
Also, a changelog update for a recent change.
2017-03-04 13:43:38 -08:00
Samuel Tribehou
2d535a6395 Anonymise some functions to work around Safari bug
Some Safari versions will error with a syntax error if a function has the same name as
one of its parameter.
Found the bug in safari included with iOS 9.3.5.
Fixed for me with this patch.
2017-03-03 20:45:52 -08:00
Thomas Lee
027cf5aab1 Align the same filename of empty_shim in README
empty-shim.js is not aligned with sample empty_shim below.

Change the above one to become empty_shim.js
2017-03-03 20:28:35 -08:00
Trent Mick
5c51dc2182 attempt to tickle a travis build 2017-03-03 16:43:44 -08:00
Paweł Sroka
4a500c4536 Updated node versions matrix and added SKIP_DTRACE=1 env var 2017-03-03 16:31:25 -08:00
Paweł Sroka
b74180cf14 Added Travis CI integration 2017-03-03 16:31:25 -08:00
Trent Mick
741bcaeb5d Fix a breakage I made in a last minute "fix 'make check'". 1.8.8 2017-03-03 14:39:44 -08:00
Trent Mick
907489d816 fix 'make check'; version 1.8.7 2017-03-03 13:37:30 -08:00
Justin McConnell
55f8c9d172 Don't throw errors in older versions of node/V8 that don't support the Set object. (#485)
Fixes #484.
2017-03-03 13:33:40 -08:00
Trent Mick
4b9df6631f authors update 2017-03-03 10:55:18 -08:00
Todd Whiteman
550ea90e1c Bunyan's safeCycles is too slow when logging large objects. Fixes #474 2017-03-03 10:39:51 -08:00
Cody Peter Mello
3cde7bcb3b trentm/node-bunyan#401 mkLogEmitter closures unnecessary for disabled log levels and have perf impact 2016-11-14 18:26:52 +00:00
Floris Vink
e4b33d8911 added new line for Simple output to PrintHelp (#407) 2016-11-07 22:24:00 -08:00
Trent Mick
01cb08ce35 Fix typo. Fixes #378 2016-11-07 22:15:23 -08:00
Trent Mick
4474c9a211 moved the See Also links to https://github.com/trentm/node-bunyan/wiki/Awesome-Bunyan 2016-11-03 09:05:01 -07:00
Trent Mick
c04e84313f v1.8.4; fix 'src' usage with node v7
Fixes #454
2016-10-25 11:22:43 -07:00
Trent Mick
e0f0a5d6fa move 3rd-party list to wiki 2016-10-25 06:40:30 -07:00
Trent Mick
06dbebd168 drop unnecessary check, because typeof(null) already is "object", excluded in the first guard 2016-10-18 13:36:33 -07:00
Trent Mick
049f178806 ignore rotated log files in the test dir 2016-10-18 13:30:27 -07:00
Trent Mick
2390bf8df2 v1.8.3. Fix log.info(null) crash that resulted from #426 in v1.8.2.
Fixes #450
2016-10-18 13:13:20 -07:00
Trent Mick
a41539bfbd change 'make cutarelease' style to not do autocommits and version bumping as part of releasing 2016-10-17 16:30:55 -07:00
Brian Lai
18bdda78cd Bump version of dtrace-provider to support Node 6 (#449)
See https://github.com/chrisa/node-dtrace-provider/issues/74#issuecomment-253938799 for relevant details.
2016-10-17 16:24:30 -07:00
Trent Mick
d6663a4627 test: test node v6, drop v5 2016-10-17 16:17:17 -07:00
Nick
7300a18583 docs: Fix local CLI path (#438) 2016-09-17 10:07:10 -07:00
Trent Mick
604ff1e88b Add 'make toc' to re-generate the TOC in the README (see #429) 2016-08-26 09:30:26 -07:00
Adrian Sieber
61f8af9b5c Add table of contents to README.md (#429) 2016-08-26 09:24:21 -07:00
Trent Mick
09742317fd Ensure log.info({err: err}) results in a "msg" value, just like log.info(err)
Fixes #426
2016-08-26 00:01:04 -07:00
Trent Mick
876d3584b4 beefed up timeguard.js to time some things for #427 discussion 2016-08-25 23:42:04 -07:00
mlucool
7c80e299f4 Updated README for webpack instructions (#412) 2016-07-04 22:50:01 -07:00
Trent Mick
32e4e2facf TODO 2016-05-17 16:37:31 -07:00
Trent Mick
cbfaa9a7bd bumpver for subsequent work 2016-04-21 01:00:52 -07:00
Trent Mick
63cc17f2e3 1.8.1 2016-04-21 01:00:39 -07:00
Trent Mick
4744d63dd3 Add example for #394 2016-04-21 00:49:18 -07:00
Trent Mick
dfa12b2c97 beef up RotatingFileStream internal debugging 2016-04-21 00:31:46 -07:00
Trent Mick
a094cee092 changelog and AUTHORS for Frankie's fix 2016-04-21 00:19:22 -07:00
Frankie O'Rourke
084f38c005 rotate() OR _setupNextRot() on start 2016-04-21 00:09:59 -07:00