Sage-Bionetworks/schematic

Logging level does not propagate between modules

Closed this issue · 0 comments

Describe the bug
Setting the logging level does not seem to propagate to other modules besides commands.py so logging messages within the codebase my not be raised

To Reproduce
Steps to reproduce the behavior:

  1. Add logger.debug messages to code in other modules in codebase besides commands.py
  2. Call validation command from command line with --verbosity set to DEBUG
  3. Debug messages are not raised

Expected behavior
Messages are raised according to the level specified in the command line

Priority (select one)

  • Minor ⬇️
  • Major 📢
  • Critical 🆘

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (if applicable, please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.