debug: log early messages to stdout, and keep it open
authorAndrew Bartlett <abartlet@samba.org>
Mon, 18 Jul 2011 07:07:25 +0000 (17:07 +1000)
committerAndrew Bartlett <abartlet@samba.org>
Tue, 19 Jul 2011 23:17:09 +0000 (09:17 +1000)
commit485898458a1f786febd400be30bb3917fe5f71eb
tree9ec865e0baddf3e65960e329a812f35bd3a093b1
parent3c9d01e3e58e2217915317406541ac8c6f6dcf92
debug: log early messages to stdout, and keep it open

The --log-stdout option was compromised by the log file descriptors being
closed once the file process forked.

Andrew Bartlett

Signed-off-by: Andrew Tridgell <tridge@samba.org>
lib/util/debug.c
lib/util/debug.h
source3/nmbd/nmbd.c
source3/smbd/server.c
source3/winbindd/winbindd.c