• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

release-engineering / pubtools-pulp / 55 / 3
100%
master: 100%

Build:
DEFAULT BRANCH: master
Ran 24 Sep 2019 12:51AM UTC
Files 19
Run time 1s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

24 Sep 2019 12:50AM UTC coverage: 100.0%. Remained the same
TOX_ENV=cov-travis

push

travis-ci

rohanpm
logging: refactor --debug to be more useful

Currently, --debug is all or nothing.  If you pass it, you get
DEBUG logs from *every* logger - but that can be incredibly
verbose and may also mean the logs should be considered insecure
(with e.g. passwords potentially being logged, since we don't know
what might be logged from 3rd-party libraries).
That's effectively unusable in a production environment.

Let's make it more useful by categorizing the loggers and enabling
DEBUG logs for different sets of loggers depending on how many
times --debug was provided.  The idea is that we have:

- tier1 logger: the logger from this project itself
- tier2 loggers: closely related projects under our control
  (e.g. anything else in pubtools.* family)
- tier3 loggers: anything else

This way, `--debug' and `--debug --debug' might actually be useful
in production sometimes. `--debug --debug --debug` is for local
development only.

572 of 572 relevant lines covered (100.0%)

1.0 hits per line

Source Files on job 55.3 (TOX_ENV=cov-travis)
  • Tree
  • List 0
  • Changed 6
  • Source Changed 6
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 43
  • Travis Job 55.3
  • f583d8ba on github
  • Prev Job for TOX_ENV=cov-travis on master (#51.3)
  • Next Job for TOX_ENV=cov-travis on master (#57.3)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc