Re: Service logs only when exiting
[email protected] (Paul Jarc)
| Newsgroups | gmane.comp.djb.syslog |
|---|---|
| Organization | What did you have in mind? A short, blunt, human pyramid? |
| Message-ID | <[email protected]> |
Jurjen Oskam <[email protected]> wrote: > However, when I start the service by doing "svc -u /service/umclient", > nothing gets written to the logfile. When I wait several minutes, and > do "svc -d /service/umclient", the process is shut down normally. It is > at this point that all information appears in the log, all in one go: umc seems to be buffering its output. If you run "umc 2>&1 | cat" at a shell prompt, do you get the same batchy behavior? (Be careful not to kill cat when you kill umc.) You might be able to work around this using the ptybandage program from ptyget: <URL:http://cr.yp.to/software/ptyget-0.50.tar.gz> paul