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

toidi / hadoop-yarn-api-python-client / 271 / 5
93%
master: 93%

Build:
DEFAULT BRANCH: master
Ran 20 Jan 2020 11:17PM UTC
Files 11
Run time 0s
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

20 Jan 2020 11:17PM UTC coverage: 92.5% (+0.3%) from 92.25%
TOXENV=py35

push

travis-ci

Luciano Resende
Enable logging for all components, remove print stmts (#80)

This change enables a logger for each module of yarn-api-client.
By default, nothing will be logged unless the calling application has
configured logging.  Once configured, entries will be logged relative
to the configured log level. The calling application is also responsible
for specifying the appropriate log formats, etc.

An accessor method, get_logger(logger_name), has been created in case we
need to add configuration for the loggers.  In those cases, we'd probably
configure the logger "yarn_api_client", so that each of the submodule
loggers would inherit from that logger.  Likewise, applications can
configure "yarn_api_client" themselves and those changes will be picked
up by the individual loggers.

The previous INFO log statement has been changed to DEBUG and I've
added timing results for the request. In addition, the previous print
statements have been replaced with calls to apiLogger().warning().

Fixes: #73

Co-authored-by: Dmitry Romanenko <Dmitry@Romanenko.in>

629 of 680 relevant lines covered (92.5%)

0.93 hits per line

Source Files on job 271.5 (TOXENV=py35)
  • Tree
  • List 0
  • Changed 7
  • Source Changed 7
  • Coverage Changed 7
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 222
  • Travis Job 271.5
  • 159f6929 on github
  • Prev Job for TOXENV=py35 on master (#265.5)
  • Next Job for TOXENV=py35 on master (#273.5)
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

© 2025 Coveralls, Inc