(Jun-02-2019, 05:15 PM)koticphreak Wrote: this is helpful! If I'm reading this correctly, I have to both print things and send them to the log, is that right?you can specify console handler and it will output to console. then if you specify also file handler/rotating file handler then you can have the output also in the log, e..
#set console handler #set file handler logging.info('Data Ingestion Successful') # this will go in both file and consolethere are tutorials how to set the logging handlers
If you can't explain it to a six year old, you don't understand it yourself, Albert Einstein
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs