bugGNU Wget - Bugs: bug #33839, wget -nv outputs non-error output...

 
 

bug #33839: wget -nv outputs non-error output to stderr

Submitter:  Noël Köthe <nok>
Submitted:  Sat 23 Jul 2011 02:10:59 PM UTC
   
 
Category:  Program Logic Severity:  3 - Normal
Priority:  5 - Normal Status:  Inspected
Privacy:  Public Assigned to:  gscrivano
Originator Name:  Open/Closed:  Open
Release:  1.12 Operating System:  GNU/Linux
Reproducibility:  Every Time Fixed Release:  None
Planned Release:  None Regression:  None
Work Required:  None Patch Included:  No
* Mandatory Fields

Add a New Comment Rich Markup
   

Sun 25 Sep 2022 12:13:08 AM UTC, comment #3: 

Yes, please add something like `-nvv` to suppress that one line so that we can stop writing:

    $ wget -nv whatever 2>&1 | grep -v ' -> '

Anonymous
Mon 01 Sep 2014 11:28:59 AM UTC, comment #2: 

But it IS a problem that -nv ( = NON-verbose) causes to have this junk printed anyway regardless of whatever!

2014-09-01 13:23:00 URL:http://whatever.url.this.may.be [98765] -> "-" [1]

And it is a problem that you HAVE to send the output to /dev/null first to stop this!

At least they should give us a -nvv alternative option or whatever that will suppress this by default.
Users are not interested in manually suppressing data junk deemed "important" by some tech geeks. Yes, it's the same ones constantly having live log file consoles on their desktop and those that always "need to know" when some global hotkey has been set. This justifies (oh-yes!) pagefuls of debug information with console apps because that is oh-so important.

Anonymous
Fri 05 Aug 2011 08:00:42 PM UTC, comment #1: 

POSIX defines stderr as: "standard error (for writing diagnostic output)".  That one is a diagnostic message so it is not a problem to use stderr for it.

Giuseppe Scrivano <gscrivano>
Group administrator
Sat 23 Jul 2011 02:10:59 PM UTC, original submission:  

$ wget -nv ftp://ftp.de.debian.org/debian/dists/unstable/main/binary-i386/Packages.gz >/dev/null

2011-07-23 16:07:09 URL: ftp://ftp.de.debian.org/debian/dists/unstable/main/binary-i386/Packages.gz [9856388] -> "Packages.gz" [1]

$ echo $?
0

That message was not an error (or warning), so it should not have been
printed on stderr, but on stdout. Printing it on stderr makes it hard to
filter out informative messages and keep the errors; if the errors and
normal messages were separated to stderr and stdout respectively, a simple

>/dev/null would work.


http://bugs.debian.org/141323

Noël Köthe <nok>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by gscrivano (Posted a comment)
  • -email is unavailable- added by nok (Submitted the item)
  • -email is unavailable- added by nok (Debian BTS)
  •  

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2011-08-05 gscrivano StatusNone Inspected
        Assigned toNone gscrivano
    2011-07-23 nok Carbon-Copy- Added -email is unavailable-

    Back to the top

    Powered by Savane 3.13-4448.
    Corresponding source code