Commit graph

654 commits

Author SHA1 Message Date
Stéphan Kochen
602c0c315c Upgrade to dtrace-provider 0.6.
For io.js 3.x support.
2015-09-04 21:29:03 +02:00
Trent Mick
3be145a72c drop 0.8 support; test with iojs3.0 (tho it is broken) 2015-08-16 17:51:30 -07:00
Trent Mick
9d309c5dc4 comment tweak 2015-07-25 22:29:53 -07:00
Mirko Kiefer
7a884019a7 add bunyan-cloudwatch to readme
Fixes .
2015-06-12 23:01:59 -07:00
Trent Mick
6ed1afd1b9 readme note 2015-06-12 23:01:01 -07:00
Trent Mick
930ce61533 prep for future dev 2015-06-07 11:07:49 -07:00
Trent Mick
32c037e0e8 prepare for 1.4.0 release 2015-06-07 11:07:37 -07:00
Trent Mick
ff50cd3741 update versions to match 2015-06-07 11:07:31 -07:00
Trent Mick
5d666f49f1 update tests to run against some io.js versions. Minor test case fix for io.js slight diff to 0.12. 2015-06-07 11:06:50 -07:00
Stéphan Kochen
3f8ff80c8c Upgrade to dtrace-provider 0.5.
Fixes . Fixes .
2015-06-07 11:03:50 -07:00
Trent Mick
e71890562e fix some test failures 2015-06-04 00:35:18 -07:00
Trent Mick
15f2bb1133 prep for future dev 2015-06-01 22:13:17 -07:00
Trent Mick
29ddf443af prepare for 1.3.6 release 2015-06-01 22:13:00 -07:00
Trent Mick
d41f15bcd7 A follow-up to to indicate the 'ms' log rotation scope is just for testing 2015-05-12 21:38:52 -07:00
Tony Lukasavage
f82ccfcd4f add undocumented "ms" rotation period to docs 2015-05-12 18:55:11 -04:00
Trent Mick
762e26713c Make bunyan defensive on res.header=null.
Fixes .
Also add test case for this and a couple recent `bunyan` crashers.
2015-04-15 09:21:31 -07:00
Trent Mick
a5bc7911d3 prep for future dev 2015-04-12 22:18:52 -07:00
Trent Mick
98430d708a prepare for 1.3.5 release 2015-04-12 22:18:39 -07:00
Trent Mick
d820b03dcd Make bunyan defensive on res.header as a boolean. Fixes 2015-04-12 21:43:01 -07:00
Trent Mick
24528aa638 Be defensive on err.stack not being a string. Fixes . 2015-04-12 21:34:16 -07:00
Trent Mick
6f81f4b1e1 TODO 2015-04-12 21:21:13 -07:00
Trent Mick
2828e462aa prep for future dev 2015-02-20 14:55:15 -08:00
Trent Mick
46b0162368 prepare for 1.3.4 release 2015-02-20 14:54:57 -08:00
Trent Mick
c25ce3a5bd Allow log.child(...) to work even if the logger is a *sub-class* of Bunyan's Logger class. 2015-02-20 14:52:37 -08:00
Trent Mick
a7c646191d Hide 'source-map-support' require from browserify. Fixes 2015-02-19 20:41:34 -08:00
Seth Pollack
ef669b6660 add third-party stream for fogbugz 2015-02-08 13:51:09 -05:00
Trent Mick
22669dbd32 Reset haveNonRawStreams on <logger>.addStream
Fixed 
2015-02-05 21:45:55 -08:00
Trent Mick
265c42f58f Merge pull request from sethpollack/patch-1
add third-party stream for slack
2015-01-28 14:36:26 -08:00
Seth Pollack
3d786a84f0 add third-party stream for slack 2015-01-28 16:49:53 -05:00
Trent Mick
6cabaa9a0b prep for future dev 2015-01-26 09:24:03 -08:00
Trent Mick
e6cff79167 prepare for 1.3.3 release 2015-01-26 09:23:52 -08:00
Trent Mick
b7cacf6f7f changelog for recent change; TODO 2015-01-25 21:18:50 -08:00
Rui Marinho
df5044d4dc Update dtrace-provider@0.4.0
Adds io.js support.

Closes .
2015-01-24 00:21:50 +00:00
Trent Mick
ffd9903d74 prep for future dev 2015-01-18 23:29:43 -08:00
Trent Mick
8598a479ed prepare for 1.3.2 release 2015-01-18 23:29:33 -08:00
Trent Mick
64b8fd1004 test cases for , style tweaks, changelog, etc. 2015-01-18 23:27:28 -08:00
Martin Gausby
c0ca774238 Defend against throwing defined props in stringify
If an object has a defined property, that is enumerable, and this
property throws an error, it will make JSON stringify throw an
error, and potentially bring down the program.

The solution so far is to try-catch with the usual json stringifyer,
that guards against circular references. If this throws an error
we will attempt to guard against defined properties; and return
[Throws] if a property throws an error when accesed.

The following examples illustrate the problem:

```js
var obj = {};
obj.__defineGetter__('foo', function() { throw new Error('ouch!'); });

JSON.stringify(obj.foo); // error thrown
```

And using `Object.defineProperty`:
```js
var obj = {};
Object.defineProperty(obj, 'foo', {
    get: function() { throw new Error('ouch!'); }
    enumerable: true // enumerable is false by default
});

JSON.stringify(obj.foo); // error thrown
```

The cases we have seen in production is third party modules that
has enumerable getters that try to access properties on undefined
objects.

Fixes .
2015-01-18 23:27:06 -08:00
Trent Mick
a96a1d50b3 Make it more clear that you can run most of the test suite without root and how to skip the root-y parts. 2015-01-18 21:24:38 -08:00
Trent Mick
bed6fbfb66 prep for future dev 2015-01-17 22:05:16 -08:00
Trent Mick
d61fd2f473 prepare for 1.3.1 release 2015-01-17 22:05:06 -08:00
Trent Mick
08a4bab1ba fix 'make check' 2015-01-17 22:04:39 -08:00
Trent Mick
b9e3a0d3cb export 'bunyan.RotatingFileStream' 2015-01-17 21:56:46 -08:00
Trent Mick
83f33890de added integration with source-map-support for integration with sourcemaps
Style updates, changelog, etc. Fixes 
2015-01-17 21:15:38 -08:00
Trent Mick
1ed684d110 Ensure a top-level level given in bunyan.createLogger is *used* for given streams
Fixes 
2015-01-17 20:39:06 -08:00
Trent Mick
b975c3a9f8 prep for future dev 2015-01-17 13:34:33 -08:00
Trent Mick
6b9ce6162b prepare for 1.3.0 release 2015-01-17 13:34:24 -08:00
Trent Mick
838b1995ef correct version 2015-01-17 13:34:02 -08:00
Trent Mick
f4b97a4952 fix 'make check'; correct version 2015-01-17 13:33:12 -08:00
Trent Mick
28e52193c6 meta data prepping for release 2015-01-16 23:02:29 -08:00
Trent Mick
132444dec3 update docs for recent '-L' option addition 2015-01-16 22:38:14 -08:00