Troubleshooting¶
See also
- Support
- If this page doesn’t help.
A Message about no Handlers being found appears¶
Problem (applies to Python)
When I import the
rst
orrstsandbox
module, a message like:No handlers could be found for logger "rstsandbox"appears. Am I doing something wrong?
Solution
Everything is fine. The output is produced by Python’s
logging
module when logging has not been configured. RST uses this module to log messages.If you find these messages annoying, add the following code fragment to your program:
import logging logging.basicConfig(level = logging.WARNING)See
logging.basicConfig()
for more configuration options.