Python logging - check location of log files?
https://stackoverflow.com/questions/14406347/python-logging-check-location-of-log-files
QuestionAnswer39answered Jan 18, 2013 at 19:39The logging module uses handlers attached to loggers to decide how, where, or even if messages ultimately get stored or displayed. You can configure logging by default to write to a file as well. You should really read the docs, but if you call logging.basicConfig(filename=log_file_name) where log_file_name is the name of the file you want messages written to (note that you have to do this before anything else in logging is called at all), then all messages logged to all loggers (unless some further reconfiguration happens later) will be writ...
DA: 40 PA: 23 MOZ Rank: 71