Logging and debug screwing up things in clitar ...
Luke Kenneth Casson Leighton
lkcl at switchboard.net
Tue Aug 4 20:55:29 GMT 1998
i went through smbclient/BRANCH_NTDOM replacing the DEBUG() calls with
printf calls, due to the silly assumption that DEBUG() would always go to
stdout.
On Fri, 31 Jul 1998, Andrew Tridgell wrote:
> > I have looked at util.c, and there, if we are interactive, it sets dbf to
> > stdout, which seems a tad wrong. I suggest that debug output should go out
> > on stderr.
> >
> > Can anyone suggest why it should not be so?
>
> the way it works currently is users can ask for it to go to stderr by
> using the -E option. Most scripts would want to do this.
>
> It goes to stdout merely for backward compatibility with badly thought
> out original code.
>
> Cheers, Tridge
>
<a href="mailto:lkcl at samba.anu.edu.au" > Luke Kenneth Casson Leighton </a>
<a href="http://mailhost.cb1.com/~lkcl"> Samba and Network Development </a>
<a href="http://www.samba.co.uk" > Samba and Network Consultancy </a>
More information about the samba-technical
mailing list