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

secure-systems-lab / securesystemslib / 429 / 4
99%
master: 99%

Build:
Build:
LAST BUILD BRANCH: debian/0.18.0-2
DEFAULT BRANCH: master
Ran 25 Feb 2020 10:46AM UTC
Files 23
Run time 3s
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

25 Feb 2020 10:44AM UTC coverage: 98.713%. Remained the same
TOXENV=py36

Pull #212

travis-ci

web-flow
Configure basic securesystemslib top-level logger

As pointed out by @FlorianVeaux in #210, securesystemslib does not
correctly initialize its loggers. As a consequence the logging
module logs a one-off "No handler could be found ..." warning when
used for the first time (only on Python 2).

The logging module then calls basicConfig, which attaches a
basic StreamHandler to the root logger, to which securesystemslib's
log messages are propagated.

This commit adds the configuration of a simple securesystemslib
top-level logger, with an attached StreamHandler and log level
WARNING, to which all other securesystemslib loggers default.

This removes the one-off warning, while providing a similar logging
behavior as before and clear instructions (see added comments) on
how to customize (format, silence, etc...) securesystemslib's logging.
Pull Request #212: Configure basic top-level logger

430 of 434 branches covered (99.08%)

2071 of 2098 relevant lines covered (98.71%)

0.99 hits per line

Source Files on job 429.4 (TOXENV=py36)
  • Tree
  • List 0
  • Changed 7
  • Source Changed 7
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 210
  • Travis Job 429.4
  • a6c59204 on github
  • Prev Job for TOXENV=py36 on fix-logging (#428.4)
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