Closed Sh1Fu closed 2 years ago
Problem: Current .log files are too large. I think that logging.DEBUG level useless in our situation. I can write only INFO and ERROR level on it
logging.DEBUG
Solve: change this part of code in DownloadImages and TakePrice classes:
logging.basicConfig(filename=self.LOG_FILE, level=logging.DEBUG, format='%(asctime)s.%(msecs)03d %(levelname)s %(module)s - %(funcName)s: %(message)s', datefmt='%Y-%m-%d %H:%M:%S') logging.debug("[+] Check requests with images..\n")
Problem: Current .log files are too large. I think that
logging.DEBUG
level useless in our situation. I can write only INFO and ERROR level on itSolve: change this part of code in DownloadImages and TakePrice classes: