mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-05-31 03:34:18 +00:00
Indicate the message has been truncated when we log it.
This commit is contained in:
parent
402ed54bfb
commit
89bae63b1c
@ -501,7 +501,7 @@ class CalDAVRequest
|
|||||||
echo $message;
|
echo $message;
|
||||||
|
|
||||||
if ( strlen($message) > 100 || strstr($message, "\n") ) {
|
if ( strlen($message) > 100 || strstr($message, "\n") ) {
|
||||||
$message = substr( preg_replace("#\s+#m", ' ', $message ), 0, 100);
|
$message = substr( preg_replace("#\s+#m", ' ', $message ), 0, 100) + "...";
|
||||||
}
|
}
|
||||||
|
|
||||||
dbg_error_log("caldav", "Status: %d, Message: %s, User: %d, Path: %s", $status, $message, $session->user_no, $this->path);
|
dbg_error_log("caldav", "Status: %d, Message: %s, User: %d, Path: %s", $status, $message, $session->user_no, $this->path);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user