From 96e2a9b31c66eef49339fc661366f5e887412405 Mon Sep 17 00:00:00 2001 From: Trent Mick Date: Wed, 2 Oct 2013 13:09:07 -0700 Subject: [PATCH] runtime log snooping as a name sugegstion from dap for bunyan -p --- README.md | 4 ++-- bin/bunyan | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 0ab5a25..5360b23 100644 --- a/README.md +++ b/README.md @@ -50,7 +50,7 @@ node.js library usage of bunyan in your apps. [`src: true`](#src) - light-weight specialization of Logger instances with [`log.child`](#logchild) - custom rendering of logged objects with ["serializers"](#serializers) -- [Dtrace support](#dtrace-support) +- [Runtime log snooping via Dtrace support](#dtrace-support) # Introduction @@ -782,7 +782,7 @@ This example emits: -# DTrace support +# Runtime log snooping via DTrace On systems that support DTrace (e.g., MacOS, FreeBSD, illumos derivatives like SmartOS and OmniOS), Bunyan will create a DTrace provider (`bunyan`) diff --git a/bin/bunyan b/bin/bunyan index a6ea2a9..e220fd3 100755 --- a/bin/bunyan +++ b/bin/bunyan @@ -177,7 +177,7 @@ function printHelp() { p(' -h, --help print this help info and exit'); p(' --version print version of this command and exit'); p(''); - p('DTrace options (only on dtrace-supporting platforms):'); + p('Runtime log snooping (via DTrace, only on supported platforms):'); p(' -p PID Process bunyan:log-* probes from the process'); p(' with the given PID. Can be used multiple times,'); p(' or specify all processes with "*", or a set of');