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

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

Build:
Build:
LAST BUILD BRANCH: debian/0.18.0-2
DEFAULT BRANCH: master
Ran 25 Feb 2020 10:45AM UTC
Jobs 7
Files 23
Run time 1min
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
429

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

432 of 436 branches covered (99.08%)

8 of 8 new or added lines in 5 files covered. (100.0%)

2070 of 2097 relevant lines covered (98.71%)

4.94 hits per line

Jobs
ID Job ID Ran Files Coverage
1 429.1 (TOXENV=py27) 25 Feb 2020 10:46AM UTC 0
98.71
Travis Job 429.1
2 429.2 (TOXENV=purepy27) 25 Feb 2020 10:46AM UTC 0
Travis Job 429.2
3 429.3 (TOXENV=py35) 25 Feb 2020 10:46AM UTC 0
98.67
Travis Job 429.3
4 429.4 (TOXENV=py36) 25 Feb 2020 10:46AM UTC 0
98.71
Travis Job 429.4
5 429.5 (TOXENV=py37) 25 Feb 2020 10:47AM UTC 0
98.71
Travis Job 429.5
6 429.6 (TOXENV=py38) 25 Feb 2020 10:46AM UTC 0
98.71
Travis Job 429.6
7 429.7 (TOXENV=purepy38) 25 Feb 2020 10:47AM UTC 0
Travis Job 429.7
Source Files on build 429
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #429
  • Pull Request #212
  • PR Base - master (#428)
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