Comparing version 0.9.0 to 0.10.0
# bunyan Changelog | ||
## bunyan 0.10.0 | ||
- [pull #24] Support for gzip'ed log files in the bunyan CLI (by | ||
github.com/mhart): | ||
$ bunyan foo.log.gz | ||
... | ||
## bunyan 0.9.0 | ||
@@ -4,0 +13,0 @@ |
@@ -7,3 +7,3 @@ /* | ||
var VERSION = '0.9.0'; | ||
var VERSION = '0.10.0'; | ||
@@ -10,0 +10,0 @@ // Bunyan log format version. This becomes the 'v' field on all log records. |
{ | ||
"name": "bunyan", | ||
"version": "0.9.0", | ||
"description": "a JSON Logger library for node.js servers", | ||
"version": "0.10.0", | ||
"description": "a JSON Logger library for node.js services", | ||
"author": "Trent Mick <trentm@gmail.com> (http://trentm.com)", | ||
@@ -17,3 +17,3 @@ "main": "./lib/bunyan.js", | ||
"keywords": ["log", "logging", "log4j", "json"], | ||
"devDependencies": { | ||
@@ -20,0 +20,0 @@ "tap": "0.2.0", |
@@ -171,1 +171,33 @@ /* | ||
}); | ||
test('log1.log.gz', function (t) { | ||
exec(BUNYAN + ' corpus/log1.log.gz', function (err, stdout, stderr) { | ||
t.error(err); | ||
t.equal(stdout, [ | ||
'[2012-05-08T16:57:55.586Z] INFO: agent1/73267 on headnode: message\n', | ||
'[2012-05-08T17:02:49.339Z] INFO: agent1/73267 on headnode: message\n', | ||
'[2012-05-08T17:02:49.404Z] INFO: agent1/73267 on headnode: message\n', | ||
'[2012-05-08T17:02:49.404Z] INFO: agent1/73267 on headnode: message\n', | ||
].join('')); | ||
t.end(); | ||
}); | ||
}); | ||
test('mixed text and gzip logs', function (t) { | ||
exec(BUNYAN + ' corpus/log1.log.gz corpus/log2.log', | ||
function (err, stdout, stderr) { | ||
t.error(err); | ||
t.equal(stdout, [ | ||
'[2012-05-08T16:57:55.586Z] INFO: agent1/73267 on headnode: message\n', | ||
'[2012-05-08T16:58:55.586Z] INFO: agent2/73267 on headnode: message\n', | ||
'[2012-05-08T17:01:49.339Z] INFO: agent2/73267 on headnode: message\n', | ||
'[2012-05-08T17:02:47.404Z] INFO: agent2/73267 on headnode: message\n', | ||
'[2012-05-08T17:02:49.339Z] INFO: agent1/73267 on headnode: message\n', | ||
'[2012-05-08T17:02:49.404Z] INFO: agent1/73267 on headnode: message\n', | ||
'[2012-05-08T17:02:49.404Z] INFO: agent1/73267 on headnode: message\n', | ||
'[2012-05-08T17:02:57.404Z] INFO: agent2/73267 on headnode: message\n', | ||
'[2012-05-08T17:08:01.105Z] INFO: agent2/76156 on headnode: message\n', | ||
].join('')); | ||
t.end(); | ||
}); | ||
}); |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
170230
39
2034