Closed lmrodriguezr closed 7 years ago
Have you trieded to :shush
option?
No, I didn't see it in the docs. How do I pass it? I just tried :shush=>true
but it doesn't seem to have any effect.
The :shush
option should now work in the latest release (v1.2.4).
Great! Thanks!
Hello,
Is there any supported option (or plans to support an option) to tell daemons to run quietly? Usually the
"...: process with pid ... started."
and"...: trying to stop process with pid..."
messages are very useful, but in some cases (e.g. unit testing) it would be great if I could turn them off. It's not a high-priority enhancement, but I would imagine is not very hard to implement.I use this trick into my tests (for other modules), but combining
fork
and daemons with stdout capturing is not really a good idea. Actually, the unit test jumps to theensure
of the method if I do it.Thanks! --Miguel.