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

xolox / python-coloredlogs / 94
91%
master: 91%

Build:
Build:
LAST BUILD BRANCH: dev
DEFAULT BRANCH: master
Ran 10 Mar 2017 01:07PM UTC
Jobs 4
Files 5
Run time 3min
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
94

push

travis-ci

xolox
Backwards incompatible: Change log level handling

The old situation:

 - install() would unconditionally change the log level of the root
   logger to logging.NOTSET (changing it from the root logger's
   default level logging.WARNING) and the log levels of handler(s)
   would control which log messages were actually emitted.

 - enable_system_logging() would never change the root logger's
   log level, which meant that when enable_system_logging() was
   used in isolation from install() the default log level would
   implicitly be set to logging.WARNING (the default log level
   of the root logger).

Over the years I've gotten a lot of feedback about the log level
handling in the coloredlogs package, it was clearly the number
one cause of confusion for users. Here are some examples:

- https://github.com/xolox/python-coloredlogs/issues/14
- https://github.com/xolox/python-coloredlogs/issues/18
- https://github.com/xolox/python-coloredlogs/pull/21
- https://github.com/xolox/python-coloredlogs/pull/23
- https://github.com/xolox/python-coloredlogs/issues/24

My hope is that with the changes I've made in the past days, the
experience for new users will be more `Do What I Mean' and less
`What The Fuck is Going On Here?!' :-). Of course only time (and
feedback, or lack thereof) will tell whether I've succeeded.

10 of 10 new or added lines in 2 files covered. (100.0%)

383 of 412 relevant lines covered (92.96%)

3.65 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
100.0
coloredlogs/syslog.py
Jobs
ID Job ID Ran Files Coverage
2 94.2 10 Mar 2017 01:07PM UTC 0
91.02
Travis Job 94.2
3 94.3 10 Mar 2017 01:07PM UTC 0
91.02
Travis Job 94.3
4 94.4 10 Mar 2017 01:07PM UTC 0
91.02
Travis Job 94.4
6 94.6 10 Mar 2017 01:10PM UTC 0
92.23
Travis Job 94.6
Source Files on build 94
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #94
  • d3901353 on github
  • Prev Build on dev (#93)
  • Next Build on dev (#95)
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