IO-2998 remove graylog and additional erroneous console logs.

This commit is contained in:
Patrick Fic
2024-10-24 12:18:39 -07:00
parent 2d3c13c587
commit 8dc1f7e08f
13 changed files with 78 additions and 73 deletions

View File

@@ -148,7 +148,7 @@ async function OpenSearchUpdateHandler(req, res) {
};
const response = await osClient.index(payload);
console.log(response.body);
//console.log(response.body);
res.status(200).json(response.body);
}
} catch (error) {
@@ -255,7 +255,7 @@ async function OpenSearchSearchHandler(req, res) {
res.json(body);
} catch (error) {
console.log(error);
//console.log(error);
logger.log("os-search-error", "ERROR", req.user.email, null, {
error: JSON.stringify(error)
});