From 476a51a8d00e5b3be85edab9d140d5848b1a624e Mon Sep 17 00:00:00 2001 From: Siddharth VP Date: Thu, 13 Jun 2024 23:00:12 +0530 Subject: [PATCH] db-tabulator: make queries file location independent of working directory --- db-tabulator/app.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/db-tabulator/app.ts b/db-tabulator/app.ts index b1a3e11..90cbbd8 100644 --- a/db-tabulator/app.ts +++ b/db-tabulator/app.ts @@ -84,7 +84,7 @@ export async function checkShutoff() { return text?.trim(); } -const queriesLog = createLogStream('queries.log'); +const queriesLog = createLogStream(__dirname + '/queries.log'); export class Query extends EventEmitter {