{"id":13884917,"date":"2021-01-09T08:56:29","date_gmt":"2021-01-09T08:56:29","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/working-with-wp_debug\/"},"modified":"2021-01-09T08:56:29","modified_gmt":"2021-01-09T08:56:29","slug":"working-with-wp_debug","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/working-with-wp_debug\/","title":{"rendered":"Working with WP_DEBUG"},"content":{"rendered":"<p>Hi,<\/p>\n<p>I&#8217;d like to look into the underlying code of WP_DEBUG. Where and how it&#8217;s called.<\/p>\n<p>My aim is to see the feasibility of splitting debug.log files into smaller chunks such as 10MB and in a dir, both defined by the site admin. <\/p>\n<p>Would anyone be able to point me in the right direction for the location of the code responsible for creating the debug.log file?<\/p>\n","protected":false},"template":"","class_list":["post-13884917","topic","type-topic","status-publish","hentry","topic-tag-wp_debug"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/13884917","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/13884917\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=13884917"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}