implement graceful process shutdown, and clear logging as to the reason why...
implement graceful process shutdown, and clear logging as to the reason why processes are terminating. include winston handling of uncaught exceptions. this all goes into a library that all of our processes use. closes #529
Showing
- bin/browserid 13 additions, 6 deletionsbin/browserid
- bin/keysigner 8 additions, 1 deletionbin/keysigner
- bin/verifier 7 additions, 8 deletionsbin/verifier
- lib/logging.js 8 additions, 4 deletionslib/logging.js
- lib/shutdown.js 120 additions, 0 deletionslib/shutdown.js
- package.json 1 addition, 1 deletionpackage.json
- scripts/run_locally.js 1 addition, 1 deletionscripts/run_locally.js
lib/shutdown.js
0 → 100644
... | ... | @@ -15,7 +15,7 @@ |
, "express-csrf": "0.3.2" | ||
, "uglify-js": "1.0.6" | ||
, "JSONSelect": "0.2.1" | ||
, "winston" : "0.3.3" | ||
, "winston" : "0.5.6" | ||
, "connect-cookie-session" : "0.0.2" | ||
, "mysql" : "0.9.2" | ||
, "optimist" : "0.2.6" | ||
... | ... |
Please register or sign in to comment