[redland-dev] [Redland librdf RDF API 0000445]: Diagnostics printed to stdout instead of stderr

Mantis Bug Tracker mantis-bug-sender at librdf.org
Fri May 20 00:55:29 CEST 2011


The following issue has been SUBMITTED. 
====================================================================== 
http://bugs.librdf.org/mantis/view.php?id=445 
====================================================================== 
Reported By:                ras52
Assigned To:                
====================================================================== 
Project:                    Redland librdf RDF API
Issue ID:                   445
Category:                   utilities
Reproducibility:            always
Severity:                   text
Priority:                   low
Status:                     new
====================================================================== 
Date Submitted:             2011-05-19 22:55
Last Modified:              2011-05-19 22:55
====================================================================== 
Summary:                    Diagnostics printed to stdout instead of stderr
Description: 
It's awkward using rdfproc in scripts because it prints diagnostic info to
stdout, in addition to the real output.  E.g. in rdfproc.c:

  fprintf(stdout, "%s: Formatting query result as '%s':\n", program,
          results_format);

It would be convenient these diagnostics were printed to stderr so that users
can do things like:

 rdfproc -r xml dataset query sparql - 'SELECT ...' > foo.xml

A --quiet (or -q) option to suppress the diagnostics would also suffice.
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-05-19 22:55 ras52          New Issue                                    
======================================================================



More information about the redland-dev mailing list