Bug 2651 - Printing DEBUG information to stdout
Printing DEBUG information to stdout
Product: Samba 3.0
Classification: Unclassified
Component: libsmbclient
All Linux
: P3 enhancement
: none
Assigned To: Derrell Lipman
Samba QA Contact
Depends on:
  Show dependency treegraph
Reported: 2005-04-26 04:59 UTC by David Baelde
Modified: 2005-12-29 09:35 UTC (History)
0 users

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description David Baelde 2005-04-26 04:59:35 UTC
As soon as one has "debug level = 1", some debugging information gets printed on
stdout. I believe that should be done on stderr. For example I have one app
using libsmbclient, which output is parsed as XML. That debugging information
makes the parser complains.
Comment 1 Derrell Lipman 2005-04-27 07:15:53 UTC
Changed severity from "normal" to "enhancement".  It should be possible to make
the requested change, and I'll look into it when I get a chance.
Comment 2 Derrell Lipman 2005-12-29 09:35:09 UTC
Added new option to log debug messages to stderr instead of stdout.  See examples/libsmbclient/testbrowse.c for an example of using it.