Re: iperf and Deamon mode...
You are correct! Removing those few lines and re-making the package does the trick!
The log now contains the usual UID lines from before and then all the tests that have
been run. Just what I was looking to capture.
Thanks very much!
Kevin Gibbs wrote:
> Yes it closes both the stdout and stderr filehandles and opens a log
> connection. Judging from my recent tinkering with this feature, I would
> think that it does not work. I have never used it nor ever heard of
> someone doing it either. I have never messed with this code nor understand
> it. It opens a connection to the syslog logger but still uses printf not
> syslog() to print messages so it looks pretty worthless. =-( If you
> download the source in src/Listener.cpp is a function called runAsDaemon
> if you comment out the last 3 lines 2 fclose's and one openlog then the
> behavior you want will occur.