diff --git a/server/routes/settings/index.ts b/server/routes/settings/index.ts index 53ae1ce88..c17e3e130 100644 --- a/server/routes/settings/index.ts +++ b/server/routes/settings/index.ts @@ -270,7 +270,7 @@ settingsRoutes.get( const timestamp = line.match(new RegExp(/^.{24}/)) || []; const level = line.match(new RegExp(/\s\[\w+\]/)) || []; - const label = line.match(new RegExp(/\]\[.+\]/)) || []; + const label = line.match(new RegExp(/\]\[.+?\]/)) || []; const message = line.match(new RegExp(/:\s([^{}]+)({.*})?/)) || []; if (level.length && filter.includes(level[0].slice(2, -1))) {