From 899a3420cf126b3f92bee6082ed0f455431cc3d7 Mon Sep 17 00:00:00 2001 From: Trent Mick Date: Thu, 1 Nov 2012 13:19:30 -0700 Subject: [PATCH] better pitch for the dtrace support --- CHANGES.md | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index 7ae8902..d00ea81 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -8,11 +8,16 @@ ## bunyan 0.15.0 - issue #48: Dtrace support! The elevator pitch is you can watch all logging - from all Bunyan-using process with this: + from all Bunyan-using process with something like this: dtrace -x strsize=4k -qn 'bunyan*:::log-*{printf("%d: %s: %s", pid, probefunc, copyinstr(arg0))}' - Or get the bunyan CLI to render those: + And this can include log levels *below* what the service is actually configured + to log. E.g. if the service is only logging at INFO level and you need to see + DEBUG log messages, with this you can. Obviously this only works on dtrace-y + platforms: Illumos derivatives of SunOS (e.g. SmartOS, OmniOS), Mac, FreeBSD. + + Or get the bunyan CLI to render logs nicely: dtrace -x strsize=4k -qn 'bunyan*:::log-*{printf("%s", copyinstr(arg0))}' | bunyan