diff --git a/src/index.ts b/src/index.ts index 1ec5ce7..8ed1584 100644 --- a/src/index.ts +++ b/src/index.ts @@ -81,12 +81,12 @@ app.get("/auth", async (req, res) => { switch (status) { case IPLookupResult.Allowed: { res.statusCode = 200; - logger.info(`${ip} is whitelisted.`); + logger.debug(`${ip} is whitelisted.`); return "PASS"; } case IPLookupResult.Blocked: { res.statusCode = 403; - logger.info(`${ip} is blocked.`); + logger.debug(`${ip} is blocked.`); return "FAIL"; } case IPLookupResult.Unlisted: {