Fix double logging.
This commit is contained in:
parent
1a59b2d5bf
commit
ce137be780
1 changed files with 0 additions and 7 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue