[SPIP] Proposé : _MAX_LOG

SPIP

Article proposé

L’article « _MAX_LOG
(SPIP) » est proposé
à la publication depuis le lundi 12 décembre 2022.


_MAX_LOG

lundi 12 décembre 2022 , par jack

The _MAX_LOG constant defines the number of entries that each page call
can write to a log file. The default value is 100. Thus, after 100 calls
spip_log() from the same script, this function will no longer log.

It is possible to customize the value of this constant in your
config/mes_options.php file. (see article dedicated
(SPIP)).

Example :

// Increasing the maximum number of logs per hit


define

 (http://www.php.net/define)

(


'_MAX_LOG'


,


500


)


;

See also :
The template debugging tools
(SPIP)
la fonction spip_log, sur https://programmer.spip.net
(spip_log - Coding with SPIP 4.0)

— Envoyé par SPIP (https://www.spip.net/)

rubon199-7e493.jpg