improve line limit and add config for it
This commit is contained in:
@ -226,7 +226,7 @@ class Canary {
|
||||
if ( ! CANARY_ENABLED ) {
|
||||
return;
|
||||
}
|
||||
if ( strlen( self::$debugLog ) > 50000 ) {
|
||||
if ( strlen( self::$debugLog ) > CANARY_DEBUG_LOG_LIMIT ) {
|
||||
self::$tempusLogger->addLog( 'log', 'Error log too large, possible loop.' );
|
||||
return;
|
||||
}
|
||||
|
Reference in New Issue
Block a user