[ar] [ast] [bg] [br] [ca] [co] [cpf] [cs] [da] [de] [en] [eo] [es] [eu] [fa] [fon] [fr] [gl] [id] [it] [ja] [lb] [nl] [oc] [pl] [pt] [ro] [ru] [sk] [sv] [tr] [uk] [vi] [zh] Espace de traduction



August 2010

All the versions of this article:

This PHP variable defines the maximum number of archives of each of SPIP’s log files (mysql.log, spip.log, prive_spip.log, etc..) which are stored in the directory specified by _NOM_TEMPORAIRES_INACCESSIBLES.

In fact, once any one of the log files reaches its maximum size, it is automatically saved under another name and a new empty log file is created.

$nombre_de_logs equals 4 by default (which actually corresponds to one file currently being written and 3 archived log files).

Application: if you wish to no longer have any log files, just add the following line to your mes_options.php file:

$nombre_de_logs = 0;

Show the template of this page Site powered by SPIP | Translation area | Private area