Simple plugin to prevent the WP debug log file from growing too large.
Évaluations
Mis à jour récemment
December 27, 2023
Version
1.0.0

This simple plugin schedules a cron job that will truncate the debug log file to a certain number of lines (default: 5,000 lines) after the file reaches a certain size (default: 10MB). No user interaction is required. This is to prevent the debug log file from growing too large and taking up too much space on the server.

Two filters can be used to change the default values:

  • ab_truncate_debug_log_max_size to change the maximum size of the debug log file (in MB).
  • ab_truncate_debug_log_lines to change the number of lines the debug log file is truncated to.
Gratuitsur le plan Creator
En procédant à l’installation, vous acceptez les Conditions d’utilisation de WordPress.com ainsi que les Conditions de l’extension tierce.
Testé jusqu’à version
6.3.5
Cette extension est disponible en téléchargement pour être utilisée sur votre installation WordPress auto-hébergée.