etsy/statsd — pull request #319 by joemiller (2013-07-31 18:38:56+00:00)
Title: add logger. catch exception if no backends are available.

- if no backends are available, the app would exit with an error calling `split()` on undefined `statsd_host` returned from `ring.get()`. Instead, catch this and report an error in the logs, but do not exit.
- added a logger like stats.js uses
- converted call to `util.log()` to use logger `l.log()` (would throw exception otherwise since util was not imported)