Page MenuHomePhabricator

Implement Logging
Closed, ResolvedPublic

Description

Context:

Currently, there isn't a set up log system for the Suite Scraper application. Some methods have print statements, some have nothing at all and badly need it.

Goal:

Implement consistent logging that outputs to a designated log file. Ideally, find a Python framework that handles log overflow/splitting automatically.

Acceptance Criteria:

  • The app outputs and constantly updates a log
  • Print statements are replaced throughout with log statements, with levels (warn, info, error) implemented
  • Thrown errors show up in logs
  • Update update_out_of_date methods to log errors, but do not raise them
  • Logs work both in local development and on Toolforge

Event Timeline

RickiJay-WMDE changed the task status from Open to In Progress.Nov 22 2024, 7:07 AM
RickiJay-WMDE claimed this task.
lojo_wmde moved this task from In Review to Done on the Wikibase Suite Team (Sprint-∞) board.
lojo_wmde moved this task from Done to In Review on the Wikibase Suite Team (Sprint-∞) board.