Page MenuHomeSoftware Heritage

Add a few debug statements in cli
ClosedPublic

Authored by douardda on Jan 14 2019, 11:44 AM.

Details

Summary

Depends on D935

Diff Detail

Repository
rDSCH Scheduling utilities
Branch
master
Lint
Lint Skipped
Unit
Unit Tests Skipped
Build Status
Buildable 3498
Build 4526: tox-on-jenkinsJenkins
Build 4525: arc lint + arc unit

Event Timeline

douardda created this revision.Jan 14 2019, 11:44 AM
vlorentz added inline comments.
swh/scheduler/cli.py
119–120
logger.debug('Instanciating scheduler %s with %s', 
    cls, override_config)

or it will crash if there is a %s in override_config

vlorentz accepted this revision.Jan 14 2019, 12:30 PM
vlorentz added inline comments.
swh/scheduler/cli.py
119–120

nvm, I confused it with a different logging library. Python's logging is fine with it.

This revision is now accepted and ready to land.Jan 14 2019, 12:30 PM
This revision was automatically updated to reflect the committed changes.