puts doesn't show up in multilog

richard lucassen <[email protected]> Thu, 13 Aug 2009 12:52:49 +0200
Newsgroups gmane.comp.djb.syslog
Organization XAQ Systems
Message-ID <[email protected]>
I've got a small C program that writes a string to sdtout.

When starting ./run by hand, the message shows up. When running
supervised, nothing is logged. I added an "echo -e "starting program" to
the run file and this messages is logged. So the multilog is reading
stdout/stderr. Anyone an idea of what is happening?

run:

#!/bin/sh
echo -e "starting parport-wait4int"
exec 2>&1
exec /usr/local/bin/parport-wait4int


log/run:

#!/bin/sh
exec setuidgid loguser /usr/local/bin/multilog t ./main




-- 
___________________________________________________________________
It is better to remain silent and be thought a fool, than to speak
aloud and remove all doubt.

+------------------------------------------------------------------+
| Richard Lucassen, Utrecht                                        |
| Public key and email address:                                    |
| http://www.lucassen.org/mail-pubkey.html                         |
+------------------------------------------------------------------+