Log as .log instead.

This commit is contained in:
Matthew Stratford 2020-11-03 23:12:57 +00:00
parent 2ec073392e
commit e191595768
No known key found for this signature in database
GPG key ID: 9E53C8B3F0B57395

View file

@ -10,7 +10,7 @@ class LoggingManager():
self.logger = logging.getLogger(name) self.logger = logging.getLogger(name)
logging.basicConfig( logging.basicConfig(
filename=resolve_external_file_path("/logs/" + name + ".txt"), filename=resolve_external_file_path("/logs/" + name + ".log"),
format='%(asctime)s | %(levelname)s | %(message)s', format='%(asctime)s | %(levelname)s | %(message)s',
level=logging.INFO, level=logging.INFO,
filemode='a' filemode='a'