summaryrefslogtreecommitdiff
path: root/api.py
diff options
context:
space:
mode:
Diffstat (limited to 'api.py')
-rw-r--r--api.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/api.py b/api.py
index fa70cf5..570dcec 100644
--- a/api.py
+++ b/api.py
@@ -183,7 +183,10 @@ async def startup():
await worker.start(4)
logging.basicConfig(
- filename="logs/processor.log",
+ filename=os.path.realpath(
+ os.path.join(os.getcwd(),
+ os.path.dirname(__file__))) +
+ "/logs/processor.log",
filemode="a",
level=logging.DEBUG
)