Patrick Mooney
042e2c0fc9
[issue #87 ] Kill vm.runInNewContext with fire
...
Change default condition evaluation from vm.runInNewContext to
eval-style functions. Use of "naked" variables (pid === 123, etc) no
longer works, making this.<name> variable qualification necessary.
2014-07-31 20:48:31 -05:00
Trent Mick
687b16b42c
make check
2014-05-31 23:00:13 -07:00
Trent Mick
4670906256
skip rotating-file test on node 0.8; warn about rotating-file issues
2014-05-31 22:57:36 -07:00
Trent Mick
42e99323ee
'make check'
2014-05-31 22:25:06 -07:00
Trent Mick
7fb58aa5e4
Merge pull request #125 from ascom-au/master
...
Rotating-file stream prevent process from exiting
2014-05-31 22:17:09 -07:00
Trent Mick
d305801472
[issue #139 ] Fix bunyan
crash on a log record with res.header
that is an object.
2014-05-29 00:13:01 -07:00
Trent Mick
fc0150f9fb
[issue #85 ] Ensure logging a non-object/non-string doesn't throw
2014-05-28 23:24:57 -07:00
Glenn Murray
6f2cc6be2d
Graceful termination failing test for #97 and #73
...
Will fail if any timers or callbacks remain registered when
instantiating a logger with a rotating file.
2014-03-04 15:45:54 +11:00
Trent Mick
a111200a5a
make check
2013-04-01 17:21:01 -07:00
Trent Mick
f616276dc6
style: 4-space indents
2013-03-28 17:42:32 -07:00
Trent Mick
7a6c3f5ce6
more 'make check' jsstyle fixes
2013-03-28 17:39:00 -07:00
Trent Mick
1a8be0c1e6
OS-2030, smartos-live #184 : fix serializer bug added in bunyan 0.18.3
2013-03-15 11:25:56 -07:00
Trent Mick
cbfb9b010b
fix the test suite for 0.10.0
2013-03-11 10:48:16 -07:00
Trent Mick
947705ad1e
'long' and 'bunyan' output formats
2013-03-08 16:32:10 -08:00
Trent Mick
f096b303c1
exclude domain keys on error objects for 'err' serializer
2013-03-01 16:58:56 -08:00
Trent Mick
b1c143c87a
bunyan CLI auto-paging
2013-01-18 21:24:23 -08:00
Trent Mick
bd4dec5bec
move test suite to nodeunit
2013-01-07 11:18:12 -08:00
Trent Mick
4145e63a6f
fix test case for latency tweak in CLI output
2012-12-27 17:09:30 -08:00
Trent Mick
da55eeee60
back to dtrace-provider dep
2012-11-02 13:36:46 -07:00
Trent Mick
b260bdb934
more reliable dtrace test, drop node0.9 testing (dtrace-provider doesn't work)
2012-11-01 20:05:56 +00:00
Trent Mick
bac8a57663
semi-reliable test case for dtrace support
2012-11-01 19:12:39 +00:00
Trent Mick
8732764c67
issue #48 : changelog, add Bryan to AUTHORS, basic dtrace test suite
...
The test suite for this is a bit finnicky because root rights are
required to run dtrace. By default we run the dtrace.test.js file
with 'sudo'. Use this to skip the dtrace tests:
SKIP_DTRACE=1 make test
Note taht 'make test09' is busted because dtrace-provider seems
busted with node 0.9.1 at least.
2012-10-31 23:52:53 -07:00
Trent Mick
677a485348
[issue #49 ] Allow a log.child()
to specify the level of inherited streams.
2012-10-22 22:30:00 -07:00
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