Apply 1 suggestion(s) to 1 file(s)

Co-authored-by: Julian Stirling <julian@julianstirling.co.uk>
This commit is contained in:
Joe Knapper 2025-05-14 15:12:17 +00:00
parent f5a41f76f3
commit 4f8e508dd5

View file

@ -153,7 +153,7 @@ export default {
let response = await axios.get(this.logFileURI);
let lines = response.data.split("\n");
let logs = [];
let regexp = /\[(.+?)\] \[(.+?)\] (.*)$/;
^\[(.+?)\] \[(DEBUG|INFO|WARNING|ERROR|CRITICAL)\] (.*)$
for (let line of lines) {
if (line.length > 0) {
let m = line.match(regexp);