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


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

Submitter:  Noël Köthe <nok>
Submitted:  Tue 30 Jan 2018 06:21:26 PM UTC
Category:  User Interface Severity:  3 - Normal
Priority:  5 - Normal Status:  None
Privacy:  Public Assigned to:  None
Originator Name:  Open/Closed:  Closed
Release:  trunk Operating System:  GNU/Linux
Reproducibility:  Every Time Fixed Release:  None
Planned Release:  None Regression:  Yes
Work Required:  None Patch Included:  No
* Mandatory Fields

Add a New Comment (Rich Markup)

Comment Type & Canned Response:


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 Files:

Attached Files


Depends on the following items: None found

Items that depend on this one: None found


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




    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2018-11-13 darnir Open/ClosedOpen Closed
    2018-02-07 rockdaboot Attached File- Added 0001-Fix-logging-in-background-mode.patch, #43203
    2018-01-30 nok Carbon-Copy- Added -email is unavailable-

    Back to the top

    Powered by Savane 3.9