Does -q definitely turn off wget output logging?

329

Solution 1

With -q option, wget itself should not output anything to either console nor the logfile specified by -o option, except for the case described by Michał. The logfile however will be created (if -o was supplied).

This however does not guarantee that no system daemons will notice the fact that wget was run - the network activity can be independently monitored by other tools.

Solution 2

no, --quiet will not guarantee no logs.

from wget 1.13 ChangeLog:

2008-04-22 Steven Schubiger

   * http.c (print_response_line): Changed to make responses always
   be logged, even in --quiet mode, if --server-response was
   specified. This is to bring http.c's handling of the situation
   in line with ftp.c's.
Share:
329

Related videos on Youtube

ecostanzi
Author by

ecostanzi

Updated on September 18, 2022

Comments

  • ecostanzi
    ecostanzi over 1 year

    Within Wordpress in the users section I would like to add a new row which will data pulled in from the Register Plus plugin.

    Where would I need to create a new row?

    Example:

    Username    Name        E-mail              Role                **Website**          Posts
    Admin        Admin      [email protected]     Administrator       google.com       2
    
    • Jesse Marks
      Jesse Marks over 5 years
      I was looking for a similar feature that OP had a question about. I found that the -a option was useful for my case. Adding this option will append to a log file that you specify instead of overwriting the old log file. Example: wget https://website/to/data1.zip -a data.wget.log.report & wget https://website/to/data2.zip -a data.wget.log.report &
    • Jesse Marks
      Jesse Marks over 5 years
      Caveat to above comment: you should not run commands at the same time because they will be trying to both write to the log file at the same time. The log file might end up being indecipherable.
  • Adam Hopkinson
    Adam Hopkinson over 14 years
    Editing the core files is bad - when you upgrade wordpress, this will be overwritten. I believe there are ways of adding table columns to the admin using a plugin (or functions.php in your theme folder) - this method is more future-proof