in packages/app/src/logEntryProcessing.ts [156:173]
export function parseLambdaLogLine(
logGroup: string,
line: string,
): StructuredLogData {
const lambdaRequestLogDataFields = lambdaRequestLogData(line);
if (lambdaRequestLogDataFields) {
return Object.assign(lambdaRequestLogDataFields, {
message: line,
});
}
// next see if this is the log line type we get from
const nodeLogData = parseNodeLogFormat(logGroup, line);
if (nodeLogData) {
return nodeLogData;
}
// fall back to normal parsing
return parseMessageJson(line);
}