Guarantee all logs go to file
Guarantee all logs go to file Question: I need to set up logging so it will always log to a file, no matter what a user or other programmer might setLevel too. For instance I have this logger set up: initialize_logging.py import logging filename="./files/logs/attribution.log", level=logging.INFO) logger = logging.getLogger(‘attribution’) formatter = logging.Formatter(‘%(asctime)s – %(levelname)s: %(message)s’) fh …