diff --git a/code/app/Providers/SynologySSLog.php b/code/app/Providers/SynologySSLog.php index ca2d31b..aa83f92 100755 --- a/code/app/Providers/SynologySSLog.php +++ b/code/app/Providers/SynologySSLog.php @@ -14,13 +14,14 @@ class SynologySSLog extends Log { public static string $name = 'SynologySS'; //public static string $regex = '/^\[(?P[^\]]+)\] (?P\S+)\.(?P\S+): ?(\|(?\S+)\|)? (?P.*)? (\{(?\S+)\}) ?(\[(?\S+|)\])?/'; - public static string $regex = '/^\[(?P[^\]]+)\] (?P\S+)\.(?P\S+): ?(\|(?\S+)\|)? (?P.*)? ((?(\{\S+\})|(\[\]))) ((?(\{\S+\})|(\[\])))/'; + public static string $regex = '/^\[(?P[^\]]+)\] (?P\S+)\.(?P\S+): ?(\|(?\S+)\|)? ?(\((?\S+)\))? (?P.*)? ((?(\{\S+\})|(\[\]))) ((?(\{\S+\})|(\[\])))/'; /** @var array|\string[][] The columns displayed on the frontend, and which data they should display */ public static array $columns = [ ['label' => 'Datetime', 'data_path' => 'datetime'], ['label' => 'Level', 'data_path' => 'level'], ['label' => 'Pid', 'data_path' => 'context.pid'], + ['label' => 'Class', 'data_path' => 'context.class'], ['label' => 'Message', 'data_path' => 'context.message'], ['label' => 'Data', 'data_path' => 'context.data'], ]; @@ -35,6 +36,7 @@ class SynologySSLog extends Log 'environment' => $matches['environment'], 'level' => $matches['level'], 'pid' => $matches['pid'], + 'class' => $matches['class'], 'message' => $matches['message'], 'data' => $matches['data'], 'extra' => $matches['extra'], diff --git a/code/storage/database.sqlite b/code/storage/database.sqlite index f675148..83fd516 100755 Binary files a/code/storage/database.sqlite and b/code/storage/database.sqlite differ