diff --git a/ui/src/app/applications/components/pod-logs-viewer/pod-logs-viewer.tsx b/ui/src/app/applications/components/pod-logs-viewer/pod-logs-viewer.tsx index 9a126126ef04c..a097d47295afa 100644 --- a/ui/src/app/applications/components/pod-logs-viewer/pod-logs-viewer.tsx +++ b/ui/src/app/applications/components/pod-logs-viewer/pod-logs-viewer.tsx @@ -210,7 +210,8 @@ export const PodsLogsViewer = (props: PodLogsProps) => { ? (lineNum === 0 || logs[lineNum - 1].timeStamp !== log.timeStamp ? log.timeStampStr : ' '.repeat(log.timeStampStr.length)) + ' ' : '') + // show the log content, highlight the filter text - log.content?.replace(highlight, (substring: string) => whiteOnYellow + substring + reset); + log.content?.replace(highlight, (substring: string) => whiteOnYellow + substring + reset) + + '\n'; // logs are in 14px wide fixed width font let width = 0;