{"id":1056,"date":"2026-10-30T17:05:59","date_gmt":"2026-10-30T16:05:59","guid":{"rendered":"https:\/\/www.cisilino.com\/?p=1056"},"modified":"2026-10-30T17:06:37","modified_gmt":"2026-10-30T16:06:37","slug":"debug-log-php-errors-their-own-file","status":"publish","type":"post","link":"https:\/\/www.cisilino.com\/en\/2026\/10\/30\/debug-log-php-errors-their-own-file\/","title":{"rendered":"Debug log: PHP errors in their own file"},"content":{"rendered":"<p>The WordPress debug log is a new feature in the CSDN plugin since version 1.0.15. It logs the site&#8217;s PHP errors into its own file, without touching <code>wp-config.php<\/code>. You switch it on from the backend, and it switches itself off.<\/p>\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.cisilino.com\/wp-content\/uploads\/2026\/10\/manuale-csdn-log-di-debug.webp\" alt=\"Diagram of WordPress with the WordPress debug log tab of the plugin CSDN highlighted\" width=\"1200\" height=\"630\"\/><\/figure>\n<h2>Where it is<\/h2>\n<p>Go to Settings &gt; Cisilino Site Defense Network (point 1 in the image) and open the <strong>Debug log<\/strong> tab (point 2). There are three sections:<\/p>\n<ul>\n<li>point 3: \u201cSite debug log\u201d, with status and activation.<\/li>\n<li>point 4: \u201cCollected files\u201d.<\/li>\n<li>point 5: \u201cLatest entries\u201d.<\/li>\n<\/ul>\n<h2>What the WordPress debug log is for<\/h2>\n<p>It comes in useful when the site shows a blank page or a critical error, when something breaks after an update, or when your hosting won&#8217;t let you edit <code>wp-config.php<\/code> or read the logs. The <code>WP_DEBUG<\/code> and <code>WP_DEBUG_LOG<\/code> constants are defined before the plugins load, so a plugin can&#8217;t turn them on. This log instead uses a PHP error handler hooked onto the plugin&#8217;s own loading.<\/p>\n<p>This log adds to things, it doesn&#8217;t replace anything. Errors keep arriving wherever they arrived before, meaning <code>debug.log<\/code> and the server log. It sends nothing to the panel.<\/p>\n<h2>How to use it<\/h2>\n<ol>\n<li>Open the <strong>Debug log<\/strong> tab.<\/li>\n<li>Choose <strong>Stay on for<\/strong>: <strong>1 hour<\/strong>, <strong>24 hours<\/strong> (default) or <strong>7 days<\/strong>.<\/li>\n<li>Choose <strong>Maximum size per file<\/strong>.<\/li>\n<li>Press <strong>Turn on the debug log<\/strong>. You&#8217;ll read \u201cDebug log turned on. It switches itself off when the chosen time runs out; the files stay.\u201d.<\/li>\n<li>Reproduce the problem on the site.<\/li>\n<li>Go back to the tab. Read \u201cLatest entries\u201d, or download the file from the \u201cCollected files\u201d section.<\/li>\n<li>When you&#8217;re done, press <strong>Turn off the debug log<\/strong>, or wait for it to expire. You&#8217;ll see \u201cDebug log turned off. The files collected are still here below.\u201d.<\/li>\n<\/ol>\n<p>The \u201cStatus:\u201d line tells you whether the log is \u201con, switches off on dd\/mm\/yyyy hh:mm\u201d, \u201coff (expired on \u2026)\u201d or \u201coff\u201d. While the log is on you can change the size with <strong>Save size<\/strong>.<\/p>\n<h3>Collected files<\/h3>\n<p>The table lists name, size, and the <strong>Download<\/strong> and <strong>Delete<\/strong> buttons. Below you&#8217;ll find <strong>Delete all files<\/strong>. Before deleting, the plugin asks for confirmation: \u201cDelete this file? This cannot be undone.\u201d. For <strong>Delete all files<\/strong> the text is \u201cDelete all debug log files? This cannot be undone.\u201d. If there&#8217;s nothing you&#8217;ll read \u201cNo files: the log has never been switched on, or it hasn&#8217;t logged anything yet.\u201d.<\/p>\n<h3>Latest entries<\/h3>\n<p>The box shows the 200 most recent entries, newest first. The <strong>All levels<\/strong> menu lets you filter by Fatal error, Parse error, Recoverable error, Warning, Notice or Deprecated. Then press <strong>Filter<\/strong>. For anything else, download the files. If the filter finds nothing, you&#8217;ll read \u201cNo entries match this filter.\u201d.<\/p>\n<p>An entry has this shape:<\/p>\n<p><code>[2026-10-29 10:15:03 UTC] Warning: message in \/path\/file.php:12 | GET \/page<\/code><\/p>\n<ul>\n<li>The time is in UTC, different from the site time shown in the <a href=\"https:\/\/www.cisilino.com\/en\/?p=984\">Activity log<\/a>.<\/li>\n<li>After the vertical bar you&#8217;ll find the method and path of the request, without the query string. From the command line or cron you&#8217;ll see \u201ccli\/cron\u201d.<\/li>\n<li>A multi-line message, such as a stack trace, stays a single entry, with the following lines indented.<\/li>\n<li>The lines \u201cInfo: debug log enabled (user N)\u201d and \u201cInfo: debug log disabled (user N)\u201d carry no level: a filter hides them.<\/li>\n<\/ul>\n<h2>Default values and limits<\/h2>\n<ul>\n<li>Duration of the WordPress debug log: 1 hour, 24 hours or 7 days. Any other value becomes 24 hours.<\/li>\n<li>Size per file: 1, 5, 10, 25 or 50 MB. The default is 5 MB. The chosen size is saved when you press <strong>Turn on the debug log<\/strong> or <strong>Save size<\/strong>. Watch out: <strong>Turn off the debug log<\/strong> resets the size to 5 MB, because that form doesn&#8217;t include the size menu.<\/li>\n<li>Overall cap: 200 MB, adding up the <code>.log<\/code> and <code>.zip<\/code> files together.<\/li>\n<li>Every message is truncated to 4000 characters.<\/li>\n<li>It only logs PHP errors: not slow queries, JavaScript errors or HTTP requests.<\/li>\n<\/ul>\n<h2>Examples<\/h2>\n<ul>\n<li>A critical error after a plugin update: turn it on for 1 hour, reload the page, filter \u201cFatal error\u201d. The entry shows the file and line, for example <code>\/\u2026\/plugins\/xyz\/file.php:210 | GET \/shop\/<\/code>.<\/li>\n<li>Occasional warnings: 24 hours, filter on Warning or Deprecated. If the file has been rotated, download the zip.<\/li>\n<li>A slow site with no clear cause: 7 days with 25 MB files, then look for Notice and Warning entries that keep repeating.<\/li>\n<\/ul>\n<p>Keep it on for only as long as you need: often 1 hour is enough.<\/p>\n<p><strong>Warning:<\/strong> the debug log files contain server paths and fragments of data. Don&#8217;t share them publicly. They stay on disk even after switching off and after uninstalling the plugin, which deletes the options but not the files. Delete them yourself when you&#8217;re finished. The overall cap is 200 MB.<\/p>\n<p><strong>Warning:<\/strong> on an nginx server, turning it on can be refused until the server blocks the <code>csdn-debug-*<\/code> folder. The message is \u201cDebug log not turned on: the files in its folder appear reachable from the internet (probably a server with no .htaccess support, such as nginx). The logs can contain paths and data: block access to the csdn-debug-* folder in the server configuration and try again.\u201d. If you don&#8217;t manage the server yourself, ask whoever does.<\/p>\n<p><strong>Warning:<\/strong> the log doesn&#8217;t see errors suppressed with <code>@<\/code>, nor ones generated before the plugin loads. For example, it doesn&#8217;t see errors from <code>wp-config.php<\/code>. The plugin&#8217;s WordPress debug log doesn&#8217;t replace the server&#8217;s own logs.<\/p>\n<h2>What happens behind the scenes<\/h2>\n<p>The WordPress debug log saves its files in a folder named <code>wp-content\/uploads\/csdn-debug-<\/code> followed by 16 random characters. Inside are an <code>index.php<\/code>, a <code>.htaccess<\/code> denying access, and the file in use, <code>csdn-debug.log<\/code>. On activation the plugin writes a test file and tries to read it over HTTP. If it responds, the plugin refuses to turn the log on.<\/p>\n<p>When the file in use exceeds the chosen size, it is closed, compressed into a <code>.zip<\/code>, and a new one starts. No entry is lost. The original <code>.log<\/code> is only deleted once the zip has been verified. If the compression fails, the <code>.log<\/code> stays. \u201cLatest entries\u201d only reads from the file in use, so after a rotation the older entries sit inside the zip files.<\/p>\n<p>Before rotating, the plugin checks the 200 MB cap. If it&#8217;s reached, the log stops so nothing gets overwritten. The yellow notice reads: \u201cThe log has stopped because the files reached the space cap (200 MB): to avoid overwriting data, it stops writing. Download or delete the files, then turn it back on.\u201d. To start again, delete the files and turn the log back on.<\/p>\n<p>On expiry the log switches itself off, but the files stay. The plugin never truncates or deletes them: only you do that, with <strong>Delete<\/strong> or <strong>Delete all files<\/strong>. For fatal errors, the entry is written at the end of the request.<\/p>\n<h2>If the WordPress debug log doesn&#8217;t work<\/h2>\n<ul>\n<li>\u201cDebug log not turned on: the uploads folder is not writable.\u201d: check the permissions on the <code>wp-content\/uploads<\/code> folder.<\/li>\n<li>The log doesn&#8217;t write: if writing fails, the plugin reports it with an entry \u201cSite debug log: \u2026\u201d in the \u201cLast attempts\u201d of the <a href=\"https:\/\/www.cisilino.com\/en\/?p=984\">Activity log<\/a> tab.<\/li>\n<li>The log has stopped for the cap: download what you need, delete the files, and turn it back on.<\/li>\n<\/ul>\n<p>The <a href=\"https:\/\/www.cisilino.com\/en\/?p=972\">general guide to the manual<\/a> explains where this tab fits in. To understand the WordPress constants better, look at the <a href=\"https:\/\/developer.wordpress.org\/advanced-administration\/debug\/debug-wordpress\/\" target=\"_blank\" rel=\"noopener\">official WordPress debugging guide<\/a>: it explains <code>WP_DEBUG<\/code> and <code>WP_DEBUG_LOG<\/code>, which this plugin cannot replace.<\/p>\n<p>Previous chapter: <a href=\"https:\/\/www.cisilino.com\/en\/?p=984\">Activity log<\/a>. Next chapter: <a href=\"https:\/\/www.cisilino.com\/en\/?p=986\">Troubleshooting and frequently asked questions<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>How to turn on the Debug log tab of the plugin CSDN since version 1.0.15: duration, file size, rotation, downloads and limits.<\/p>\n","protected":false},"author":1,"featured_media":1013,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"wpai_generated_summary":"","footnotes":""},"categories":[416],"tags":[164,434,447,446],"class_list":["post-1056","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-csdn-manual","tag-cisilino-site-defense-network-en","tag-csdn-manual","tag-debug","tag-php-errors"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.4 - aioseo.com -->\n\t<meta name=\"description\" content=\"WordPress debug log with CSDN: timed activation, rotation into zip, protected folder, the last 200 entries and file downloads, without touching wp-config.\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"matteocisilino\"\/>\n\t<meta name=\"google-site-verification\" content=\"_A-1f0dO30IDVHfP9muflI8kHQs-H4YOi8WLUkYzuLE\" \/>\n\t<link rel=\"canonical\" href=\"https:\/\/www.cisilino.com\/en\/2026\/10\/30\/debug-log-php-errors-their-own-file\/\" \/>\n\t\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.4\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_GB\" \/>\n\t\t<meta property=\"og:site_name\" content=\"Matteo Cisilino - Guide su WordPress, server e sicurezza\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"WordPress debug log: PHP errors in their own file\" \/>\n\t\t<meta property=\"og:description\" content=\"WordPress debug log with CSDN: timed activation, rotation into zip, protected folder, the last 200 entries and file downloads, without touching wp-config.\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/www.cisilino.com\/en\/2026\/10\/30\/debug-log-php-errors-their-own-file\/\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/www.cisilino.com\/wp-content\/uploads\/2026\/10\/manuale-csdn-log-di-debug.webp\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/www.cisilino.com\/wp-content\/uploads\/2026\/10\/manuale-csdn-log-di-debug.webp\" \/>\n\t\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t\t<meta property=\"og:image:height\" content=\"630\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2026-10-30T16:05:59+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2026-10-30T16:06:37+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n\t\t<meta name=\"twitter:title\" content=\"WordPress debug log: PHP errors in their own file\" \/>\n\t\t<meta name=\"twitter:description\" content=\"WordPress debug log with CSDN: timed activation, rotation into zip, protected folder, the last 200 entries and file downloads, without touching wp-config.\" \/>\n\t\t<meta name=\"twitter:image\" content=\"https:\/\/www.cisilino.com\/wp-content\/uploads\/2026\/10\/manuale-csdn-log-di-debug.webp\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"BlogPosting\",\"@id\":\"https:\\\/\\\/www.cisilino.com\\\/en\\\/2026\\\/10\\\/30\\\/debug-log-php-errors-their-own-file\\\/#blogposting\",\"name\":\"WordPress debug log: PHP errors in their own file\",\"headline\":\"Debug log: PHP errors in their own file\",\"author\":{\"@id\":\"https:\\\/\\\/www.cisilino.com\\\/en\\\/author\\\/matteocisilino\\\/#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/www.cisilino.com\\\/en\\\/#organization\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/www.cisilino.com\\\/wp-content\\\/uploads\\\/2026\\\/10\\\/manuale-csdn-log-di-debug.webp\",\"width\":1200,\"height\":630,\"caption\":\"Schema di WordPress con la scheda Log di debug WordPress del plugin CSDN evidenziata\"},\"datePublished\":\"2026-10-30T17:05:59+01:00\",\"dateModified\":\"2026-10-30T17:06:37+01:00\",\"inLanguage\":\"en-GB\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.cisilino.com\\\/en\\\/2026\\\/10\\\/30\\\/debug-log-php-errors-their-own-file\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.cisilino.com\\\/en\\\/2026\\\/10\\\/30\\\/debug-log-php-errors-their-own-file\\\/#webpage\"},\"articleSection\":\"CSDN manual, Cisilino Site Defense Network, CSDN manual, debug, PHP errors\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.cisilino.com\\\/en\\\/2026\\\/10\\\/30\\\/debug-log-php-errors-their-own-file\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.cisilino.com\\\/en\\\/#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.cisilino.com\\\/en\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.cisilino.com\\\/en\\\/category\\\/csdn-manual\\\/#listItem\",\"name\":\"CSDN manual\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.cisilino.com\\\/en\\\/category\\\/csdn-manual\\\/#listItem\",\"position\":2,\"name\":\"CSDN manual\",\"item\":\"https:\\\/\\\/www.cisilino.com\\\/en\\\/category\\\/csdn-manual\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.cisilino.com\\\/en\\\/2026\\\/10\\\/30\\\/debug-log-php-errors-their-own-file\\\/#listItem\",\"name\":\"Debug log: PHP errors in their own file\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.cisilino.com\\\/en\\\/#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.cisilino.com\\\/en\\\/2026\\\/10\\\/30\\\/debug-log-php-errors-their-own-file\\\/#listItem\",\"position\":3,\"name\":\"Debug log: PHP errors in their own file\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.cisilino.com\\\/en\\\/category\\\/csdn-manual\\\/#listItem\",\"name\":\"CSDN manual\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.cisilino.com\\\/en\\\/#organization\",\"name\":\"Matteo Cisilino\",\"description\":\"Guide su WordPress, server e sicurezza\",\"url\":\"https:\\\/\\\/www.cisilino.com\\\/en\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/www.cisilino.com\\\/wp-content\\\/uploads\\\/2026\\\/10\\\/logo-cisilino-512.png\",\"@id\":\"https:\\\/\\\/www.cisilino.com\\\/en\\\/2026\\\/10\\\/30\\\/debug-log-php-errors-their-own-file\\\/#organizationLogo\",\"width\":512,\"height\":512,\"caption\":\"Logo: un cerchio a sinistra che si divide in cerchi pi\\u00f9 piccoli\"},\"image\":{\"@id\":\"https:\\\/\\\/www.cisilino.com\\\/en\\\/2026\\\/10\\\/30\\\/debug-log-php-errors-their-own-file\\\/#organizationLogo\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.cisilino.com\\\/en\\\/author\\\/matteocisilino\\\/#author\",\"url\":\"https:\\\/\\\/www.cisilino.com\\\/en\\\/author\\\/matteocisilino\\\/\",\"name\":\"matteocisilino\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/www.cisilino.com\\\/en\\\/2026\\\/10\\\/30\\\/debug-log-php-errors-their-own-file\\\/#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/639872265f0661e8aee8924ba9d756b00ea816f8286fab99a5116c729d49618f?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"matteocisilino\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.cisilino.com\\\/en\\\/2026\\\/10\\\/30\\\/debug-log-php-errors-their-own-file\\\/#webpage\",\"url\":\"https:\\\/\\\/www.cisilino.com\\\/en\\\/2026\\\/10\\\/30\\\/debug-log-php-errors-their-own-file\\\/\",\"name\":\"WordPress debug log: PHP errors in their own file\",\"description\":\"WordPress debug log with CSDN: timed activation, rotation into zip, protected folder, the last 200 entries and file downloads, without touching wp-config.\",\"inLanguage\":\"en-GB\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.cisilino.com\\\/en\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.cisilino.com\\\/en\\\/2026\\\/10\\\/30\\\/debug-log-php-errors-their-own-file\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/www.cisilino.com\\\/en\\\/author\\\/matteocisilino\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/www.cisilino.com\\\/en\\\/author\\\/matteocisilino\\\/#author\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/www.cisilino.com\\\/wp-content\\\/uploads\\\/2026\\\/10\\\/manuale-csdn-log-di-debug.webp\",\"@id\":\"https:\\\/\\\/www.cisilino.com\\\/en\\\/2026\\\/10\\\/30\\\/debug-log-php-errors-their-own-file\\\/#mainImage\",\"width\":1200,\"height\":630,\"caption\":\"Schema di WordPress con la scheda Log di debug WordPress del plugin CSDN evidenziata\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.cisilino.com\\\/en\\\/2026\\\/10\\\/30\\\/debug-log-php-errors-their-own-file\\\/#mainImage\"},\"datePublished\":\"2026-10-30T17:05:59+01:00\",\"dateModified\":\"2026-10-30T17:06:37+01:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.cisilino.com\\\/en\\\/#website\",\"url\":\"https:\\\/\\\/www.cisilino.com\\\/en\\\/\",\"name\":\"Matteo Cisilino\",\"description\":\"Guide su WordPress, server e sicurezza\",\"inLanguage\":\"en-GB\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.cisilino.com\\\/en\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"WordPress debug log: PHP errors in their own file","description":"WordPress debug log with CSDN: timed activation, rotation into zip, protected folder, the last 200 entries and file downloads, without touching wp-config.","canonical_url":"https:\/\/www.cisilino.com\/en\/2026\/10\/30\/debug-log-php-errors-their-own-file\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"google-site-verification":"_A-1f0dO30IDVHfP9muflI8kHQs-H4YOi8WLUkYzuLE","miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"BlogPosting","@id":"https:\/\/www.cisilino.com\/en\/2026\/10\/30\/debug-log-php-errors-their-own-file\/#blogposting","name":"WordPress debug log: PHP errors in their own file","headline":"Debug log: PHP errors in their own file","author":{"@id":"https:\/\/www.cisilino.com\/en\/author\/matteocisilino\/#author"},"publisher":{"@id":"https:\/\/www.cisilino.com\/en\/#organization"},"image":{"@type":"ImageObject","url":"https:\/\/www.cisilino.com\/wp-content\/uploads\/2026\/10\/manuale-csdn-log-di-debug.webp","width":1200,"height":630,"caption":"Schema di WordPress con la scheda Log di debug WordPress del plugin CSDN evidenziata"},"datePublished":"2026-10-30T17:05:59+01:00","dateModified":"2026-10-30T17:06:37+01:00","inLanguage":"en-GB","mainEntityOfPage":{"@id":"https:\/\/www.cisilino.com\/en\/2026\/10\/30\/debug-log-php-errors-their-own-file\/#webpage"},"isPartOf":{"@id":"https:\/\/www.cisilino.com\/en\/2026\/10\/30\/debug-log-php-errors-their-own-file\/#webpage"},"articleSection":"CSDN manual, Cisilino Site Defense Network, CSDN manual, debug, PHP errors"},{"@type":"BreadcrumbList","@id":"https:\/\/www.cisilino.com\/en\/2026\/10\/30\/debug-log-php-errors-their-own-file\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/www.cisilino.com\/en\/#listItem","position":1,"name":"Home","item":"https:\/\/www.cisilino.com\/en\/","nextItem":{"@type":"ListItem","@id":"https:\/\/www.cisilino.com\/en\/category\/csdn-manual\/#listItem","name":"CSDN manual"}},{"@type":"ListItem","@id":"https:\/\/www.cisilino.com\/en\/category\/csdn-manual\/#listItem","position":2,"name":"CSDN manual","item":"https:\/\/www.cisilino.com\/en\/category\/csdn-manual\/","nextItem":{"@type":"ListItem","@id":"https:\/\/www.cisilino.com\/en\/2026\/10\/30\/debug-log-php-errors-their-own-file\/#listItem","name":"Debug log: PHP errors in their own file"},"previousItem":{"@type":"ListItem","@id":"https:\/\/www.cisilino.com\/en\/#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/www.cisilino.com\/en\/2026\/10\/30\/debug-log-php-errors-their-own-file\/#listItem","position":3,"name":"Debug log: PHP errors in their own file","previousItem":{"@type":"ListItem","@id":"https:\/\/www.cisilino.com\/en\/category\/csdn-manual\/#listItem","name":"CSDN manual"}}]},{"@type":"Organization","@id":"https:\/\/www.cisilino.com\/en\/#organization","name":"Matteo Cisilino","description":"Guide su WordPress, server e sicurezza","url":"https:\/\/www.cisilino.com\/en\/","logo":{"@type":"ImageObject","url":"https:\/\/www.cisilino.com\/wp-content\/uploads\/2026\/10\/logo-cisilino-512.png","@id":"https:\/\/www.cisilino.com\/en\/2026\/10\/30\/debug-log-php-errors-their-own-file\/#organizationLogo","width":512,"height":512,"caption":"Logo: un cerchio a sinistra che si divide in cerchi pi\u00f9 piccoli"},"image":{"@id":"https:\/\/www.cisilino.com\/en\/2026\/10\/30\/debug-log-php-errors-their-own-file\/#organizationLogo"}},{"@type":"Person","@id":"https:\/\/www.cisilino.com\/en\/author\/matteocisilino\/#author","url":"https:\/\/www.cisilino.com\/en\/author\/matteocisilino\/","name":"matteocisilino","image":{"@type":"ImageObject","@id":"https:\/\/www.cisilino.com\/en\/2026\/10\/30\/debug-log-php-errors-their-own-file\/#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/639872265f0661e8aee8924ba9d756b00ea816f8286fab99a5116c729d49618f?s=96&d=mm&r=g","width":96,"height":96,"caption":"matteocisilino"}},{"@type":"WebPage","@id":"https:\/\/www.cisilino.com\/en\/2026\/10\/30\/debug-log-php-errors-their-own-file\/#webpage","url":"https:\/\/www.cisilino.com\/en\/2026\/10\/30\/debug-log-php-errors-their-own-file\/","name":"WordPress debug log: PHP errors in their own file","description":"WordPress debug log with CSDN: timed activation, rotation into zip, protected folder, the last 200 entries and file downloads, without touching wp-config.","inLanguage":"en-GB","isPartOf":{"@id":"https:\/\/www.cisilino.com\/en\/#website"},"breadcrumb":{"@id":"https:\/\/www.cisilino.com\/en\/2026\/10\/30\/debug-log-php-errors-their-own-file\/#breadcrumblist"},"author":{"@id":"https:\/\/www.cisilino.com\/en\/author\/matteocisilino\/#author"},"creator":{"@id":"https:\/\/www.cisilino.com\/en\/author\/matteocisilino\/#author"},"image":{"@type":"ImageObject","url":"https:\/\/www.cisilino.com\/wp-content\/uploads\/2026\/10\/manuale-csdn-log-di-debug.webp","@id":"https:\/\/www.cisilino.com\/en\/2026\/10\/30\/debug-log-php-errors-their-own-file\/#mainImage","width":1200,"height":630,"caption":"Schema di WordPress con la scheda Log di debug WordPress del plugin CSDN evidenziata"},"primaryImageOfPage":{"@id":"https:\/\/www.cisilino.com\/en\/2026\/10\/30\/debug-log-php-errors-their-own-file\/#mainImage"},"datePublished":"2026-10-30T17:05:59+01:00","dateModified":"2026-10-30T17:06:37+01:00"},{"@type":"WebSite","@id":"https:\/\/www.cisilino.com\/en\/#website","url":"https:\/\/www.cisilino.com\/en\/","name":"Matteo Cisilino","description":"Guide su WordPress, server e sicurezza","inLanguage":"en-GB","publisher":{"@id":"https:\/\/www.cisilino.com\/en\/#organization"}}]},"og:locale":"en_GB","og:site_name":"Matteo Cisilino - Guide su WordPress, server e sicurezza","og:type":"article","og:title":"WordPress debug log: PHP errors in their own file","og:description":"WordPress debug log with CSDN: timed activation, rotation into zip, protected folder, the last 200 entries and file downloads, without touching wp-config.","og:url":"https:\/\/www.cisilino.com\/en\/2026\/10\/30\/debug-log-php-errors-their-own-file\/","og:image":"https:\/\/www.cisilino.com\/wp-content\/uploads\/2026\/10\/manuale-csdn-log-di-debug.webp","og:image:secure_url":"https:\/\/www.cisilino.com\/wp-content\/uploads\/2026\/10\/manuale-csdn-log-di-debug.webp","og:image:width":1200,"og:image:height":630,"article:published_time":"2026-10-30T16:05:59+00:00","article:modified_time":"2026-10-30T16:06:37+00:00","twitter:card":"summary_large_image","twitter:title":"WordPress debug log: PHP errors in their own file","twitter:description":"WordPress debug log with CSDN: timed activation, rotation into zip, protected folder, the last 200 entries and file downloads, without touching wp-config.","twitter:image":"https:\/\/www.cisilino.com\/wp-content\/uploads\/2026\/10\/manuale-csdn-log-di-debug.webp"},"aioseo_meta_data":{"post_id":"1056","title":"WordPress debug log: PHP errors in their own file","description":"WordPress debug log with CSDN: timed activation, rotation into zip, protected folder, the last 200 entries and file downloads, without touching wp-config.","keywords":null,"keyphrases":{"focus":{"keyphrase":"wordpress debug log"}},"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_custom_url":null,"og_image_custom_fields":null,"og_image_url":null,"og_image_width":null,"og_image_height":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_image_url":null,"twitter_title":null,"twitter_description":null,"schema_type":"default","schema_type_options":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"limit_modified_date":false,"ai":null,"breadcrumb_settings":null,"seo_analyzer_scan_date":null,"created":"2026-10-30 07:39:42","updated":"2026-10-30 07:42:40","focus_keyword":"wordpress debug log","additional_keywords":null,"truseo_locale":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/www.cisilino.com\/en\/\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">\u00bb<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/www.cisilino.com\/en\/category\/csdn-manual\/\" title=\"CSDN manual\">CSDN manual<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">\u00bb<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tDebug log: PHP errors in their own file\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/www.cisilino.com\/en\/"},{"label":"CSDN manual","link":"https:\/\/www.cisilino.com\/en\/category\/csdn-manual\/"},{"label":"Debug log: PHP errors in their own file","link":"https:\/\/www.cisilino.com\/en\/2026\/10\/30\/debug-log-php-errors-their-own-file\/"}],"_links":{"self":[{"href":"https:\/\/www.cisilino.com\/en\/wp-json\/wp\/v2\/posts\/1056","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.cisilino.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.cisilino.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.cisilino.com\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.cisilino.com\/en\/wp-json\/wp\/v2\/comments?post=1056"}],"version-history":[{"count":2,"href":"https:\/\/www.cisilino.com\/en\/wp-json\/wp\/v2\/posts\/1056\/revisions"}],"predecessor-version":[{"id":1331,"href":"https:\/\/www.cisilino.com\/en\/wp-json\/wp\/v2\/posts\/1056\/revisions\/1331"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.cisilino.com\/en\/wp-json\/wp\/v2\/media\/1013"}],"wp:attachment":[{"href":"https:\/\/www.cisilino.com\/en\/wp-json\/wp\/v2\/media?parent=1056"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.cisilino.com\/en\/wp-json\/wp\/v2\/categories?post=1056"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.cisilino.com\/en\/wp-json\/wp\/v2\/tags?post=1056"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}