SDA-3580 Logging cleanup (#1343)

This commit is contained in:
Salah Benmoussati authored and GitHub committed 2022-02-09 11:14:39 +01:00
1 parent 52ca40cec3
commit c8bd9828d6
1 file changed
+14
+14
View File
@@ -533,6 +533,20 @@ const logApiCallParams = (arg: any) => {
)}`,
);
break;
case apiCmds.sendLogs:
const logFiles = 'hidden';
const logDetails = {
...arg.logs,
logFiles,
};
logger.info(
`main-api-handler: - ${apiCmd} - Properties: ${JSON.stringify(
logDetails,
null,
2,
)}`,
);
break;
default:
logger.info(
`main-api-handler: - ${apiCmd} - Properties: ${JSON.stringify(