Re: [PATCH] service: Honor #:log-file in make-forkexec-constructor.

2016-09-11 Thread Ludovic Courtès
David Craven skribis: > * modules/shepherd/service.scm (exec-command): Redirect stdout and > stderr to log-file. > (fork+exec-command): Pass log-file to exec-command. > (make-forkexec-constructor): Cleanup log-file. Pass log-file to > fork+exec-command. > * doc/shepherd.texi (@deffn): Upd

Re: [PATCH] service: Honor #:log-file in make-forkexec-constructor.

2016-09-06 Thread David Craven
>> Not syslog, but helps with debugging... > That definitely helps - however, in the long run, I think that using syslog > is better. I agree, but someone has to write it... > Syslog does the splitting up in different files (or not) and onto different > machines > (or not), filtering (or not),

Re: [PATCH] service: Honor #:log-file in make-forkexec-constructor.

2016-09-06 Thread Danny Milosavljevic
On Tue, 6 Sep 2016 14:36:35 +0200 David Craven wrote: > Not syslog, but helps with debugging... That definitely helps - however, in the long run, I think that using syslog is better. Syslog does the splitting up in different files (or not) and onto different machines (or not), filtering (or no

Re: [PATCH] service: Honor #:log-file in make-forkexec-constructor.

2016-09-06 Thread David Craven
Not syslog, but helps with debugging...

[PATCH] service: Honor #:log-file in make-forkexec-constructor.

2016-09-06 Thread David Craven
* modules/shepherd/service.scm (exec-command): Redirect stdout and stderr to log-file. (fork+exec-command): Pass log-file to exec-command. (make-forkexec-constructor): Cleanup log-file. Pass log-file to fork+exec-command. * doc/shepherd.texi (@deffn): Update documentation. --- doc/shepherd