node-init
node-init copied to clipboard
Fix for logging
I noticed that logging was not working.
It seems daemon.start() takes filenames -- at least it does now -- and not file handles.
Not sure if this is the best fix but simple anyway. I left that fs.open there still since it might be used to change permissions and check that writing is possible? However might be good idea to close it since nothing is writing to it...
Without this change, the logging feature doesn't work for me.