Log as .log instead.
This commit is contained in:
parent
2ec073392e
commit
e191595768
1 changed files with 1 additions and 1 deletions
|
@ -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'
|
||||||
|
|
Loading…
Reference in a new issue