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

Separate log files for stdout and stderr #4

Closed
cadorn opened this issue Sep 2, 2011 · 2 comments
Closed

Separate log files for stdout and stderr #4

cadorn opened this issue Sep 2, 2011 · 2 comments

Comments

@cadorn
Copy link

cadorn commented Sep 2, 2011

I need stdout and stderr in separate log files. Would send pull request if I knew C.

Current signature:

require("daemon").daemonize(logPath, pidFile, ...

Proposed optional new signature:

require("daemon").daemonize({
    stdout: stdoutLogPath,
    stderr: stderrLogPath
}, pidFile, ...

Thanks!

@indexzero
Copy link
Owner

Working with Javascript Object literals in C++ add-ons is something I am not familiar with. I will try to get up to speed and address this sometime, but I don't know when that will be.

Maybe @polotek would want to lend a hand, he's much more knowledgable V8/C++ than I.

@indexzero
Copy link
Owner

Fixed in #7. Published in daemon@0.4.0

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

No branches or pull requests

2 participants