diff --git a/modules/system/models/EventLog.php b/modules/system/models/EventLog.php index a4b53795d..ae6a5616f 100644 --- a/modules/system/models/EventLog.php +++ b/modules/system/models/EventLog.php @@ -85,6 +85,9 @@ class EventLog extends Model return $match[1]; } - return Str::limit($this->message, 100); + // Get first line of message + preg_match('/^([^\n\r]+)/m', $this->message, $matches); + + return Str::limit($matches[1] ?? '', 500); } }