diff --git a/src/views/system/LoggingView.vue b/src/views/system/LoggingView.vue index 7758f644..c8e649d5 100644 --- a/src/views/system/LoggingView.vue +++ b/src/views/system/LoggingView.vue @@ -34,7 +34,7 @@ function extractLogDetailsFromLogs(logs: string[]): { level: string; time: strin const matches = RegExp(logPattern).exec(log) if (matches && matches.length === 5) { const [_, level, time, program, content] = matches - logDetails.push({ level, time, program, content }) + logDetails.unshift({ level, time, program, content }) } }