Navigation Menu

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Console.log redirection #21

Open
XBTCorg opened this issue May 13, 2015 · 3 comments
Open

Console.log redirection #21

XBTCorg opened this issue May 13, 2015 · 3 comments
Labels

Comments

@XBTCorg
Copy link

XBTCorg commented May 13, 2015

Console.log redirection not working for me at all. Tested with systemv & systemd on different Debian instances.
Node v.0.12

@emdarcher
Copy link

No logging output for me either, running on Raspbian (Debian) with systemv. Node v0.12.6

@emdarcher
Copy link

It may have to do with this part of wrapper.js : https://github.com/coreybutler/node-linux/blob/master/lib/wrapper.js#L62-L73
When I ran a script (very similar to the example ) that used node-linux to install a package as a service, node gave this deprecation warning about .write:

.write(string, encoding, offset, length) is deprecated. Use write(string[, offset[, length]][, encoding]) instead.

@coreybutler
Copy link
Owner

I'm pretty sure @emdarcher is on the money with the deprecation. I am not working with 0.12.x and node-linux at the moment, but I suspect this is a pretty simple fix. I would accept a PR on this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants