[Mesa-dev] [Bug 65475] New: Inconsistent use of both stderr and stdout for debug output

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Jun 6 11:59:24 PDT 2013


https://bugs.freedesktop.org/show_bug.cgi?id=65475

          Priority: medium
            Bug ID: 65475
          Assignee: mesa-dev at lists.freedesktop.org
           Summary: Inconsistent use of both stderr and stdout for debug
                    output
          Severity: normal
    Classification: Unclassified
                OS: All
          Reporter: amonakov at gmail.com
          Hardware: Other
            Status: NEW
           Version: unspecified
         Component: Other
           Product: Mesa

It would be nice if all textual debug output enabled with environment variables
such as LIBGL_VERBOSE, MESA_DEBUG, INTEL_DEBUG and so on would be printed
strictly to stderr.  Right now some code in mesa/src uses stderr, but even more
code uses stdout.

Dear maintainers, please speak up if open-coding the debug output channel
everywhere (with "fprintf(stderr, ...)") would not be acceptable, and please
recommend a preferred approach (something like introducing a new mesa_dump
function or macro to be used everywhere? what about gallium?).

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20130606/b182a63a/attachment.html>


More information about the mesa-dev mailing list