[SPIP] PUBLISHED : _MAX_LOG

SPIP

Article validated

The article « _MAX_LOG (_MAX_LOG - SPIP) » was
validated by George.


_MAX_LOG

Sunday 18 December 2022 , by 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)

— Sent by SPIP (https://www.spip.net/)

rubon199-7e493.jpg