AB Truncate Debug Log

描述

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.

评价

此插件暂无评价。

贡献者及开发者

“AB Truncate Debug Log” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

将“AB Truncate Debug Log”翻译成您的语言。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

New in Version 1.0.0

Initial release.