application/Espo/Core/Utils/Log/Monolog/Handler/StreamHandler.php
protected function pruneMessage(array $record)
    {
        $message = (string) $record['message'];

        if (strlen($message) > $this->maxErrorMessageLength) {
            $record['message'] = substr($message, 0, $this->maxErrorMessageLength) . '...';
            $record['formatted'] = $this->getFormatter()->format($record);
        }

        return (string) $record['formatted'];
    }
protected function pruneMessage(array $record)
    {
        $message = (string) $record['message'];

        if (strlen($message) > $this->maxErrorMessageLength) {
            $record['message'] = substr($message, 0, $this->maxErrorMessageLength) . '...';
            $record['formatted'] = $this->getFormatter()->format($record);
        }

        return (string) $record['formatted'];
    }
protected function pruneMessage ( array $ record ) { $ message = ( string ) $ record [ 'message' ] ; if ( strlen ( $ message ) > $ this -> maxErrorMessageLength ) { $ record [ 'message' ] = substr ( $ message , 0 , $ this -> maxErrorMessageLength ) . '...' ; $ record [ 'formatted' ] = $ this -> getFormatter ( ) -> format ( $ record ) ; } return ( string ) $ record [ 'formatted' ] ; }
Cut the error message depends on maxErrorMessageLength

@param  array  $record
@return string
Cut the error message depends on maxErrorMessageLength