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