diff --git a/bin/bunyan b/bin/bunyan index 23438c3..e3c4908 100755 --- a/bin/bunyan +++ b/bin/bunyan @@ -234,6 +234,8 @@ function printHelp() { p(' short: like "long", but more concise'); p(' -j shortcut for `-o json`'); p(' -0 shortcut for `-o bunyan`'); + p(' -L, --time local'); + p(' Display time field in local time, rather than UTC.'); p(''); p('Environment Variables:'); p(' BUNYAN_NO_COLOR Set to a non-empty value to force no output '); diff --git a/docs/bunyan.1 b/docs/bunyan.1 index b231df1..41d3769 100644 --- a/docs/bunyan.1 +++ b/docs/bunyan.1 @@ -1,7 +1,7 @@ .\" generated with Ronn/v0.7.3 .\" http://github.com/rtomayko/ronn/tree/0.7.3 . -.TH "BUNYAN" "1" "August 2014" "" "bunyan manual" +.TH "BUNYAN" "1" "January 2015" "" "bunyan manual" . .SH "NAME" \fBbunyan\fR \- filter and pretty\-print Bunyan log file content @@ -142,6 +142,10 @@ Specify an output format\. One of \fBlong\fR (the default), \fBshort\fR, \fBjson \fB\-j\fR Shortcut for \fB\-o json\fR\. . +.TP +\fB\-L\fR, \fB\-\-time local\fR +Display the time field in \fIlocal\fR time, rather than the default UTC time\. +. .SH "LOG LEVELS" In Bunyan log records, then \fBlevel\fR field is a number\. For the \fB\-l|\-\-level\fR argument the level \fBnames\fR are supported as shortcuts\. In \fB\-c|\-\-condition\fR scripts, uppercase symbols like "DEBUG" are defined for convenience\. . diff --git a/docs/bunyan.1.html b/docs/bunyan.1.html index eab117d..c11eaf0 100644 --- a/docs/bunyan.1.html +++ b/docs/bunyan.1.html @@ -182,6 +182,8 @@ non-Bunyan lines are passed through.

-o FORMAT, --output FORMAT

Specify an output format. One of long (the default), short, json, json-N, bunyan (the native bunyan 0-indent JSON output) or inspect.

-j

Shortcut for -o json.

+
-L, --time local

Display the time field in local time, rather than the default UTC +time.

@@ -270,7 +272,7 @@ All rights reserved.

  1. -
  2. August 2014
  3. +
  4. January 2015
  5. bunyan(1)
diff --git a/docs/bunyan.1.ronn b/docs/bunyan.1.ronn index 1fe0d1e..c09b933 100644 --- a/docs/bunyan.1.ronn +++ b/docs/bunyan.1.ronn @@ -109,6 +109,10 @@ Output options: * `-j`: Shortcut for `-o json`. + * `-L`, `--time local`: + Display the time field in *local* time, rather than the default UTC + time. + ## LOG LEVELS