nusmodifications / nusmodifications/nusmods

Add file logger for CPEx scraper

Open
#4,371 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
689
Forks
364
Avg merge
7h 5m
Merged PRs (30d)
14

Description

Only the nus-v2 scraper has log files, the CPEx scraper still uses console.log and it is difficult to debug and trace

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Compare the nus-v2 scraper's existing log-file implementation with the CPEx scraper and locate the console.log calls. Replace the CPEx console logging with file logging, then verify that scraper activity is written to a log file and remains useful for debugging and tracing.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
tooling
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
58/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.