realtime-py icon indicating copy to clipboard operation
realtime-py copied to clipboard

fix: don't call logging.basicConfig

Open anand2312 opened this issue 2 years ago • 1 comments

Related: #303 supabase-community/supabase-py#532

The call to basicConfig on realtime-py was messing up the config for the root logger. The docs suggest using getLogger and using a specific logger instance to make logging calls in libraries.

anand2312 avatar Sep 27 '23 17:09 anand2312

Could this be merged? It fixes issues, where supabase is modifing the streamhandler of my other modules loggers by using basicConfig instead of getLogger.

How to set up logging

CaoKaiK avatar Jan 13 '24 16:01 CaoKaiK

Hi, this was done along with https://github.com/supabase/realtime-py/pull/178

So, I'll close this for now

grdsdev avatar Aug 19 '24 14:08 grdsdev