Commit Graph

641 Commits

Author SHA1 Message Date
David M. Lee 8df86bccf0 Improved time formatting and conversion
Bunyan CLI was not handling timezone conversion properly when set to use
local time. This patch uses [Moment.js][] to fix those issues.

 * Timezone conversions work properly across DST conversions
 * The timezone, when shown, is correctly shown as `±hh:mm`
 * The timzeone is omitted on short output, since it isn't that short.
   Except when UTC is used, since that can be indicated by the single
   character `Z`

Fixes #245

 [Moment.js]: http://momentjs.com/
2016-02-10 22:03:35 -08:00
Trent Mick c1662212f8 node-bunyan#252 forgot to commit this file for test case 2016-02-10 00:05:02 -08:00
Trent Mick 30fa3da5e9 node-bunyan#252 changelog and test case 2016-02-10 00:03:21 -08:00
Thomas Heymann 18e6023dd0 node-bunyan#252 Fixed typo and removed duplicate newline chars
* "client_res" wasn't removed properly resulting in "client_res={}" logs in extras
* duplicate new line characters were added when client_req.address wasn't set
2016-02-10 00:02:16 -08:00
Trent Mick 5660501664 Add a MuteByEnvVars example to show how #175/#176 could be done. 2016-02-03 08:36:40 -08:00
Trent Mick 788ad7cefe fix `LOG.child(...)` to *not* override the "hostname" field of the parent
Fixes #291. Fixes #303.
2016-02-02 23:45:31 -08:00
Trent Mick c3b76b1f15 doc: Markup fixes.
Fixes #316. Fixes #331.
2016-02-02 23:25:19 -08:00
Trent Mick fbe20e7ea3 changelog notes for recent changes 2016-02-02 23:24:40 -08:00
Trent Mick 2a5e1fc715 Allow one to set `level: 0` in `createLogger` to turn on logging for all levels.
Fixes #325.
2016-02-02 23:12:02 -08:00
Trent Mick b0b9bed17b docs: update notes on log levels
Hopefully helps clarify questions like #340 and #305.
2016-01-31 17:35:45 -08:00
Trent Mick cc7606a60d update copyright years 2016-01-30 18:00:03 -08:00
Trent Mick 842d489f3c 'Type-Unknown' label use in GH issues 2016-01-30 17:55:20 -08:00
Trent Mick 3671c2c17c fix 'make test4' and 'make test5'. Add testing of node 5 to 'make testall' (working) 2016-01-29 06:47:30 +00:00
Trent Mick 2c9c83d4c3 update 'make testall' to test on node 4, 0.12, 0.10. Not node 5 yet because I get errors still 2016-01-27 22:04:34 -08:00
Trent Mick c6d805f107 linking, grammar 2016-01-27 21:39:56 -08:00
Trent Mick 2e108c2698 markup fixes 2016-01-27 21:37:23 -08:00
Trent Mick c8aabfd7ca links to some tickets 2016-01-27 21:32:02 -08:00
Trent Mick f364a5864a some issue label tweaks and updates from having gone through all 'needslabels' 2016-01-24 22:29:54 -08:00
Trent Mick 42d2f657fe node-bunyan#335: start a contributing howto 2016-01-23 17:49:41 -08:00
Trent Mick 4619d33b57 prep for future dev 2015-09-07 14:45:14 -07:00
Trent Mick 49891f480d prepare for 1.5.1 release 2015-09-07 14:44:59 -07:00
Trent Mick 3554d8076f fix 'make versioncheck' broken in prev commit 2015-09-07 14:44:52 -07:00
Trent Mick 77e239ce24 drop redundant 'bunyan' from changelog release entries as I've moved to in other projects 2015-09-07 14:40:31 -07:00
Trent Mick 86b6769087 Fix `src: true`, which was broken in v1.5.0.
Also add a test case for `src: true` which is how 1.5.0 got released
without noticing this.

Fixes #296.
2015-09-07 14:37:29 -07:00
Trent Mick 2975178220 prep for future dev 2015-09-07 01:27:17 -07:00
Trent Mick e14f191327 prepare for 1.5.0 release 2015-09-07 01:27:01 -07:00
Trent Mick 27d60578a9 strict mode
Should fix usage with bundles including bunyan and using strict mode.
Had to fix a surprise effect that 'window === this' is no longer
true in strict mode:

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Strict_mode
"""That means, among other things, that in browsers it's no longer
possible to reference the window object through this inside a strict
mode function."""

Fixes #236, #231, and #223.
2015-09-07 01:21:43 -07:00
Peter deHaan 6baeb2c581 Add license attribute
https://docs.npmjs.com/files/package.json#license
http://npm1k.org/
2015-09-07 00:42:33 -07:00
Ionică Bizău 9cd70479cb Added the missing syntax highlighting
Added syntax highlighting everywhere and minor formatting.
2015-09-07 00:39:56 -07:00
Trent Mick 4f071a0a37 changelog for webpack fix 2015-09-07 00:32:35 -07:00
Trent Mick bf994a34b3 fix 'make check'; add some recent authors 2015-09-07 00:29:17 -07:00
Denis Izmaylov 466829dc73 Fix issues to work with webpack 2015-09-07 00:18:50 -07:00
Shakeel Mohamed bedb2ae7ff Fixed typos in README 2015-09-07 00:08:17 -07:00
Trent Mick 56f2ac4de5 typo 2015-09-06 23:37:14 -07:00
Yunong Xiao 08710eca4d add link to bunyan kafka plugin 2015-09-06 23:07:29 -07:00
Trent Mick 5e3e86cec3 bump to 1.5.0 2015-09-06 23:03:32 -07:00
Trent Mick 2a078fec7a get 'make testall' to include node v4.0 (hacked up for my rc1 build in ~/src/node) 2015-09-06 22:56:37 -07:00
Stéphan Kochen 602c0c315c Upgrade to dtrace-provider 0.6.
For io.js 3.x support.
2015-09-04 21:29:03 +02:00
Trent Mick 3be145a72c drop 0.8 support; test with iojs3.0 (tho it is broken) 2015-08-16 17:51:30 -07:00
Trent Mick 9d309c5dc4 comment tweak 2015-07-25 22:29:53 -07:00
Mirko Kiefer 7a884019a7 add bunyan-cloudwatch to readme
Fixes #263.
2015-06-12 23:01:59 -07:00
Trent Mick 6ed1afd1b9 readme note 2015-06-12 23:01:01 -07:00
Trent Mick 930ce61533 prep for future dev 2015-06-07 11:07:49 -07:00
Trent Mick 32c037e0e8 prepare for 1.4.0 release 2015-06-07 11:07:37 -07:00
Trent Mick ff50cd3741 update versions to match 2015-06-07 11:07:31 -07:00
Trent Mick 5d666f49f1 update tests to run against some io.js versions. Minor test case fix for io.js slight diff to 0.12. 2015-06-07 11:06:50 -07:00
Stéphan Kochen 3f8ff80c8c Upgrade to dtrace-provider 0.5.
Fixes #259. Fixes #258.
2015-06-07 11:03:50 -07:00
Trent Mick e71890562e fix some test failures 2015-06-04 00:35:18 -07:00
Trent Mick 15f2bb1133 prep for future dev 2015-06-01 22:13:17 -07:00
Trent Mick 29ddf443af prepare for 1.3.6 release 2015-06-01 22:13:00 -07:00