mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-07 02:27:39 +00:00
Merge pull request #3877 from Infisical/remove-datadog-logs
Remove debug logs for DataDog stream
This commit is contained in:
@@ -131,7 +131,6 @@ export const auditLogQueueServiceFactory = async ({
|
|||||||
});
|
});
|
||||||
|
|
||||||
try {
|
try {
|
||||||
logger.info(`Streaming audit log [url=${url}] for org [orgId=${orgId}]`);
|
|
||||||
const response = await request.post(
|
const response = await request.post(
|
||||||
url,
|
url,
|
||||||
{ ...providerSpecificPayload(url), ...auditLog },
|
{ ...providerSpecificPayload(url), ...auditLog },
|
||||||
@@ -143,9 +142,6 @@ export const auditLogQueueServiceFactory = async ({
|
|||||||
signal: AbortSignal.timeout(AUDIT_LOG_STREAM_TIMEOUT)
|
signal: AbortSignal.timeout(AUDIT_LOG_STREAM_TIMEOUT)
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
logger.info(
|
|
||||||
`Successfully streamed audit log [url=${url}] for org [orgId=${orgId}] [response=${JSON.stringify(response.data)}]`
|
|
||||||
);
|
|
||||||
return response;
|
return response;
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
logger.error(
|
logger.error(
|
||||||
@@ -237,7 +233,6 @@ export const auditLogQueueServiceFactory = async ({
|
|||||||
});
|
});
|
||||||
|
|
||||||
try {
|
try {
|
||||||
logger.info(`Streaming audit log [url=${url}] for org [orgId=${orgId}]`);
|
|
||||||
const response = await request.post(
|
const response = await request.post(
|
||||||
url,
|
url,
|
||||||
{ ...providerSpecificPayload(url), ...auditLog },
|
{ ...providerSpecificPayload(url), ...auditLog },
|
||||||
@@ -249,9 +244,6 @@ export const auditLogQueueServiceFactory = async ({
|
|||||||
signal: AbortSignal.timeout(AUDIT_LOG_STREAM_TIMEOUT)
|
signal: AbortSignal.timeout(AUDIT_LOG_STREAM_TIMEOUT)
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
logger.info(
|
|
||||||
`Successfully streamed audit log [url=${url}] for org [orgId=${orgId}] [response=${JSON.stringify(response.data)}]`
|
|
||||||
);
|
|
||||||
return response;
|
return response;
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
logger.error(
|
logger.error(
|
||||||
|
|||||||
Reference in New Issue
Block a user