No handlers could be found for logger “pika.adapters.blocking_connection”

后端 未结 2 2109
一个人的身影
一个人的身影 2021-01-04 02:37

Similar questions all seem to be based around using a custom logger, I\'m happy to just use the default / none at all. My pika python app runs and receives messages but afte

相关标签:
2条回答
  • 2021-01-04 02:51

    There should be exchange name provide, it should not left default.

    channel.exchange_declare(exchange='anyname')  
    
    0 讨论(0)
  • 2021-01-04 03:01

    Fixed by adding:

    import logging
    logging.basicConfig()
    
    0 讨论(0)
提交回复
热议问题