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

release-engineering / pubtools-pulp / 55
100%

Build:
DEFAULT BRANCH: master
Ran 24 Sep 2019 12:51AM UTC
Jobs 1
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

pending completion
55

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

Jobs
ID Job ID Ran Files Coverage
3 55.3 (TOX_ENV=cov-travis) 24 Sep 2019 12:51AM UTC 0
100.0
Travis Job 55.3
Source Files on build 55
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #55
  • f583d8ba on github
  • Prev Build on master (#51)
  • Next Build on master (#57)
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