realpdm

Untitled

Aug 7th, 2012
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.79 KB | None | 0 0
  1. {
  2. backends: ["console"]
  3. , debug: true
  4. , port: 8125
  5. }
  6.  
  7.  
  8.  
  9. 21:20 CDT | chipotle:~/git/statsd>node stats.js pdm_config.js
  10. 7 Aug 21:20:09 - reading config file: pdm_config.js
  11. 7 Aug 21:20:09 - server is up
  12. 7 Aug 21:20:09 - debugLoading backend: console
  13.  
  14. /Users/pdm/git/statsd/stats.js:32
  15. var ret = backendmod.init(startup_time, config, backendEvents);
  16. ^
  17. TypeError: Object #<Object> has no method 'init'
  18. at loadBackend (/Users/pdm/git/statsd/stats.js:32:24)
  19. at /Users/pdm/git/statsd/stats.js:277:9
  20. at exports.configFile (/Users/pdm/git/statsd/config.js:36:5)
  21. at EventEmitter.emit (events.js:88:17)
  22. at Configurator.updateConfig (/Users/pdm/git/statsd/config.js:18:12)
  23. at fs.readFile (fs.js:176:14)
  24. at Object.oncomplete (fs.js:297:15)
Advertisement
Add Comment
Please, Sign In to add comment