Fix double logging.

This commit is contained in:
Matthew Stratford 2021-02-14 00:30:11 +00:00
parent 1a59b2d5bf
commit ce137be780

View file

@ -20,13 +20,6 @@ class LoggingManager():
print("Failed to create log file")
return
# Set root the logging options.
logging.basicConfig(
filename=filename,
format='%(asctime)s | %(levelname)s | %(message)s',
level=logging.INFO,
filemode='a'
)
self.logger.setLevel(logging.INFO)
fh = logging.FileHandler(filename)