{"id":183567,"date":"2023-12-27T20:03:38","date_gmt":"2023-12-27T20:03:38","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/ab-truncate-debug-log\/"},"modified":"2023-12-27T20:09:33","modified_gmt":"2023-12-27T20:09:33","slug":"ab-truncate-debug-log","status":"closed","type":"plugin","link":"https:\/\/te.wordpress.org\/plugins\/ab-truncate-debug-log\/","author":14691237,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.0.0","stable_tag":"1.0.0","tested":"6.3.8","requires":"4.9.0","requires_php":"7.4","requires_plugins":null,"header_name":"AB Truncate Debug Log","header_author":"Broes Consulting","header_description":"Simple plugin to prevent the WP debug log file from growing too large.","assets_banners_color":"","last_updated":"2023-12-27 20:09:33","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/github.com\/arnaudbroes\/ab-truncate-debug-log","header_author_uri":"https:\/\/broes.consulting","rating":0,"author_block_rating":0,"active_installs":0,"downloads":409,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","changelog"],"tags":{"1.0.0":{"tag":"1.0.0","author":"arnaudbroes","date":"2023-12-27 20:09:33"}},"upgrade_notice":[],"ratings":[],"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.0"],"block_files":[],"assets_screenshots":[],"screenshots":[]},"plugin_section":[],"plugin_tags":[94,17813,732,223507,23825],"plugin_category":[52,59],"plugin_contributors":[77600],"plugin_business_model":[],"class_list":["post-183567","plugin","type-plugin","status-closed","hentry","plugin_tags-debug","plugin_tags-debug-log","plugin_tags-maintenance","plugin_tags-wp-debug-log","plugin_tags-wp-debug","plugin_category-performance","plugin_category-utilities-and-tools","plugin_contributors-arnaudbroes","plugin_committers-arnaudbroes"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/ab-truncate-debug-log.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>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.\nThis is to prevent the debug log file from growing too large and taking up too much space on the server.<\/p>\n\n<p>Two filters can be used to change the default values:<\/p>\n\n<ul>\n<li><code>ab_truncate_debug_log_max_size<\/code> to change the maximum size of the debug log file (in MB).<\/li>\n<li><code>ab_truncate_debug_log_lines<\/code> to change the number of lines the debug log file is truncated to.<\/li>\n<\/ul>\n\n<!--section=changelog-->\n<p><strong>New in Version 1.0.0<\/strong><\/p>\n\n<p>Initial release.<\/p>","raw_excerpt":"Simple plugin to prevent the WP debug log file from growing too large.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/te.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/183567","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/te.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/te.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/te.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=183567"}],"author":[{"embeddable":true,"href":"https:\/\/te.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/arnaudbroes"}],"wp:attachment":[{"href":"https:\/\/te.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=183567"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/te.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=183567"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/te.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=183567"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/te.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=183567"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/te.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=183567"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/te.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=183567"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}