Bug 2651 - Printing DEBUG information to stdout
Summary: Printing DEBUG information to stdout
Status: RESOLVED FIXED
Alias: None
Product: Samba 3.0
Classification: Unclassified
Component: libsmbclient (show other bugs)
Version: 3.0.13
Hardware: All Linux
: P3 enhancement
Target Milestone: none
Assignee: Derrell Lipman
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-04-26 04:59 UTC by David Baelde
Modified: 2005-12-29 09:35 UTC (History)
0 users

See Also:


Attachments

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.