Updated logger setup
This commit is contained in:
parent
6988ce3810
commit
fd1edbe8b6
@ -41,8 +41,8 @@ class Logger:
|
||||
log.addHandler(ch)
|
||||
|
||||
if createFile:
|
||||
folder = "core/logs"
|
||||
file = folder + "/twitter-bot.log"
|
||||
folder = "logs"
|
||||
file = folder + "/application.log"
|
||||
|
||||
if not os.path.exists(folder):
|
||||
os.mkdir(folder)
|
||||
|
Loading…
Reference in New Issue
Block a user