Comparing version 0.16.5 to 0.16.6
# bunyan Changelog | ||
## bunyan 0.16.6 | ||
- [issue #56] Support `bunyan -p NAME` to dtrace all PIDs matching 'NAME' in | ||
their command and args (using `ps -A -o pid,command | grep NAME` or, on SunOS | ||
`pgrep -lf NAME`). E.g.: | ||
bunyan -p myappname | ||
This is useful for usage of node's [cluster | ||
module](http://nodejs.org/docs/latest/api/all.html#all_cluster) where you'll | ||
have multiple worker processes. | ||
## bunyan 0.16.5 | ||
@@ -4,0 +17,0 @@ |
@@ -7,3 +7,3 @@ /* | ||
var VERSION = '0.16.5'; | ||
var VERSION = '0.16.6'; | ||
@@ -10,0 +10,0 @@ // Bunyan log format version. This becomes the 'v' field on all log records. |
{ | ||
"name": "bunyan", | ||
"version": "0.16.5", | ||
"version": "0.16.6", | ||
"description": "a JSON Logger library for node.js services", | ||
@@ -5,0 +5,0 @@ "author": "Trent Mick <trentm@gmail.com> (http://trentm.com)", |
@@ -554,2 +554,11 @@ Bunyan is **a simple and fast a JSON logging library** for node.js services and | ||
Have the bunyan CLI pretty-print the traced logs: | ||
dtrace -x strsize=4k -qn 'bunyan1234:::log-*{printf("%s", copyinstr(arg0))}' | bunyan | ||
A convenience handle has been made for this: | ||
bunyan -p 1234 | ||
On systems that support the | ||
@@ -556,0 +565,0 @@ [`jstack`](http://dtrace.org/blogs/dap/2012/04/25/profiling-node-js/) action |
@@ -1,2 +0,1 @@ | ||
- -p PID: proper handling of '-l level' | ||
- "all" or "off" levels? log4j? logging.py? | ||
@@ -45,2 +44,3 @@ logging.py has NOTSET === 0. I think that is only needed/used for | ||
- Syslog support. | ||
- doc the restify RequestCaptureStream usage of RingBuffer. Great example. | ||
- A vim plugin (a la http://vim.cybermirror.org/runtime/autoload/zip.vim ?) to | ||
@@ -47,0 +47,0 @@ allow browsing (read-only) a bunyan log in rendered form. |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
278997
644