How do you set the log file path in the configuration file so that all the incoming messages can be dumped to a file statsd.log for example.
What I have so far is like this but it does not seem to work:
{
graphitePort: 2003,
graphiteHost: "omitted.for.post.com",
port: 8125,
flushInterval: 10000,
debug: false,
dumpMessages: true,
log: "some/file/path/statsd.log"
}
Thanks
You can redirect the output of statsd to wherever you want
node /usr/share/statsd/stats.js /etc/statsd/rdioConfig.js 2>&1 >> /tmp/statsd.log
Or you can set the logging to go to syslog. https://github.com/etsy/statsd/blob/master/exampleConfig.js#L42