express.io
express.io copied to clipboard
Unable to set loggin in options
If you pass in options with log of true, the default option of log false always wins. Underscore extend copies from default options over the passed in options, tried using _defaults and that copies correctly.
+1 I ran into this problem as well.
app.io.set 'log', true # Express.io defaults this to false.
app.io.set 'log level', if process.env.NODE_ENV is 'development' then 2 else 1
Thanks!