From 0b49dd6acb1e1a3d3e7689ca00346b3be19e4cf5 Mon Sep 17 00:00:00 2001 From: karishmas6 Date: Fri, 12 Apr 2024 12:24:59 +0530 Subject: [PATCH] feat: enable logger --- scraper/src/main.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scraper/src/main.js b/scraper/src/main.js index 6b2df41a..cc1a2f69 100644 --- a/scraper/src/main.js +++ b/scraper/src/main.js @@ -1,4 +1,6 @@ -const fastify = require('fastify')(); +const fastify = require('fastify')({ + logger: true +}); const scraper = require('./scraper'); // Change this later const corsOptions = {