Copied! You may simply call features defined for the module amount, that happen to be hooked to the foundation logger, but a lot more the frequent practice is to obtain a dedicated logger for every of your respective supply files: There isn’t an easy strategy to flush the stream in Python 2, since the print assertion doesn’t allow for it by