bugGNU Wget - Bugs: bug #53020, wget -b produces empty wget-log...


bug #53020: wget -b produces empty wget-log file

Submitted by:  Noël Köthe <nok>
Submitted on:  Tue 30 Jan 2018 06:21:26 PM UTC  
Category: User InterfaceSeverity: 3 - Normal
Priority: 5 - NormalStatus: None
Privacy: PublicAssigned to: None
Originator Name: Open/Closed: Open
Release: trunkOperating System: GNU/Linux
Reproducibility: Every TimeFixed Release: None
Planned Release: NoneRegression: Yes
Work Required: NonePatch Included: No

Add a New Comment(Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


Wed 07 Feb 2018 09:38:01 PM UTC, comment #2:

Added a patch - please review. If OK it goes into master.

Tim Ruehsen <rockdaboot>
Project Administrator
Wed 07 Feb 2018 08:50:51 PM UTC, comment #1:

This was introduced by commit 19060db44f10d426576f69c515c54ebea37f9e6d: The description says "Init logging as soon as possible", but it's now before the call to fork_to_background, which is where the output filename is generated.

You can still get a (non-empty) logfile if you specify the name with "-o" .

Glyn <jigglynaga>
Tue 30 Jan 2018 06:21:26 PM UTC, original submission:


with wget 1.19.3 and 1.19.4 I can reproduce the following problem:

$ LC_ALL=C wget -b debian.org
Continuing in background, pid 19726.
Output will be written to 'wget-log'.
$ cat wget-log

With -b no logging is written anymore.


Noël Köthe <nok>


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

Attach File(s):

Attached Files


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by rockdaboot (Updated the item)
  • -unavailable- added by jigglynaga (Posted a comment)
  • -unavailable- added by nok (Submitted the item)
  • -unavailable- added by nok

    Please enter the title of George Orwell's famous dystopian book (it's a date):



    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 07 Feb 2018 09:37:26 PM UTCrockdabootAttached File-=>Added 0001-Fix-logging-in-background-mode.patch, #43203
    Tue 30 Jan 2018 06:21:26 PM UTCnokCarbon-Copy-=>Added -unavailable-

    Back to the top

    Powered by Savane 3.1-cleanup1