Ben Gotow
549ced6128
Revert change, @evan’s fix is better
2016-07-15 16:28:13 -07:00
Ben Gotow
7efe5db7e9
USE_CONSOLE_LOG for simple console logs
2016-07-15 16:25:18 -07:00
Juan Tejada
7f72ab7f14
Add loggly logging service to test it out
...
- Adds env to all logs, cleans up code a bit
2016-07-13 11:58:46 -07:00
Juan Tejada
afeb0e7b27
Create one CloudWatch stream per host
...
- This prevents `InvalidSequenceTokenException` when running in
production with multiple machines in an elastic beanstalk environment
- See
https://github.com/mirkokiefer/bunyan-cloudwatch/issues/1#issuecomment-193116799
2016-07-11 17:57:43 -07:00
Juan Tejada
f8b8dfb87f
Revert to running pm2 in no-daemon mode in dev
...
- Add a stream for pretty logging in dev mode
2016-07-11 16:40:48 -07:00
Juan Tejada
1c4434c136
Re-emit error events on bunyan log streams
2016-07-11 12:12:38 -07:00
Juan Tejada
600245ebcb
Fix cloudwatch config
2016-07-11 11:28:53 -07:00
Juan Tejada
dce872fac8
Adds bunyan for json logging on every package!
...
- Bunyan logs json output, and added a stream to send our logs to
cloudwatch
- Replaces /all/ instances of console.log. Turned eslint rule back on,
so we don't use console.log ever again.
- Added npm scripts to view pretty logs
2016-07-08 17:30:24 -07:00