No handlers could be found for logger "kazoo.handlers.threading"
after using logging.basicConfig(), it turns out
[2023-07-13 11:27:22,005] [ERROR] [3722:139833607571200] [threading.py:L130] Exception in worker queue thread
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/kazoo/handlers/threading.py", line 128, in _thread_worker
func()
File "/usr/lib/python2.7/site-packages/kazoo/handlers/threading.py", line 291, in <lambda>
self.callback_queue.put(lambda: callback.func(*callback.args))
File "/usr/local/services/myproject/src/zk.py", line 154, in leader_watch
log.info("leader event: %s" % event)
TypeError: not all arguments converted during string formatting
but maybe it is better to has its own logger, just like kazoo.client does
No handlers could be found for logger "kazoo.handlers.threading"
after using logging.basicConfig(), it turns out
but maybe it is better to has its own logger, just like kazoo.client does