linkcheck.director.status

Status message handling

Classes

Status(aggregator, wait_seconds)

Thread that gathers and logs the status periodically.

class linkcheck.director.status.Status(aggregator, wait_seconds)[source]

Bases: LoggedCheckedTask

Thread that gathers and logs the status periodically.

Initialize the status logger task.

Parameters:
  • urlqueue (Urlqueue) – the URL queue

  • logger (console.StatusLogger) – the logger object to inform about status

  • wait_seconds (int) – interval in seconds to report status

log_status()[source]

Log a status message.

run_checked()[source]

Print periodic status messages.