Use log-timestamp to add timestamps to logs

This commit is contained in:
Pablo Carranza Velez 2016-07-15 17:59:39 -03:00
parent 427a19f2ca
commit 102eb460db
3 changed files with 4 additions and 0 deletions

View File

@ -1,3 +1,5 @@
* Use log-timestamp to add timestamps to logs [Pablo]
# v1.12.2 # v1.12.2
* Bind mount kmod if the container is debian or raspbian [Pablo] * Bind mount kmod if the container is debian or raspbian [Pablo]

View File

@ -22,6 +22,7 @@
"knex": "~0.8.3", "knex": "~0.8.3",
"lockfile": "^1.0.1", "lockfile": "^1.0.1",
"lodash": "^3.0.0", "lodash": "^3.0.0",
"log-timestamp": "^0.1.2",
"mixpanel": "0.0.20", "mixpanel": "0.0.20",
"network-checker": "~0.0.5", "network-checker": "~0.0.5",
"pinejs-client": "^1.7.1", "pinejs-client": "^1.7.1",

View File

@ -1,3 +1,4 @@
require('log-timestamp')
process.on 'uncaughtException', (e) -> process.on 'uncaughtException', (e) ->
console.error('Got unhandled exception', e, e?.stack) console.error('Got unhandled exception', e, e?.stack)