How sensitive is the debug.log file?

[ad_1]

In late November, I upgraded PHP from 7.4 to 8.0 and it broke our WordPress website. I had to enable the debug log to find out what was breaking to get it fixed.

What I didn’t realize is that it creates the `debug.log` file in the publically accessible `wp-content` folder. I forgot about this file for about a month and when I realized I quickly deleted the debug.log file without inspecting it first.

Now I’m wondering what sensitive information is in this file? Are passwords/logins logged here? What other sensitive information was in that file? I now regret deleting the file without inspecting it.

I’m working on getting the file out of backups from my provider but this could take several days unfortunately.

[ad_2]
1 Comment
  1. The only thing there is plugin and theme file paths and PHP error or warning messages. Also, `debug.log` inside `wp-content` is not normal o default WP behavior.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer