Hi,

When we run


    logging.basicConfig( filename = "TestLogging_" +  
datetime.datetime.now().strftime("%Y%m%d_%H%M%S") + ".log" )

                        
, and then

    logging.error( "Test01\n" )
    logging.debug("Test02\n")
    logging.info("Test03\n")
    logging.error( "Test04\n" )


, only the error log lines get sent to the file.  


How do I get info() and debug() to go to the file, as well?



-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to