In Python, we get both DEBUG and INFO messages when the level is set to DEBUG. And, we do not get DEBUG messages when level is set to INFO.
I want the exact opposite of this. I want only DEBUG messages when level is set to DEBUG. And both INFO and DEBUG messages when level is set to INFO.
All logs should be there in the console.
Any way to achieve this?