#How to log from 2 sources?
4 messages · Page 1 of 1 (latest)
Hello?
Do you have any code to share?
I ended up managing to do it, but I'm sure my way is suboptimal
4 messages · Page 1 of 1 (latest)
I'm using the logging library and created a basicConfig logger, then used the GetLogger method to retrieve sql.alchemy.postgresql notices. It is working, but now I cannot log the plain Python events.
What do I need do to log both sources?
Hello?
Do you have any code to share?
I ended up managing to do it, but I'm sure my way is suboptimal