Title: debug.log
Last modified: September 12, 2017

---

# debug.log

 *  [salamzaban](https://wordpress.org/support/users/salamzaban/)
 * (@salamzaban)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/debug-log-7/)
 * Hello
    Thanks for your plugin. Do we need another plugin for hiding “debug.log”?
 * Does it disable HTML comment too?
 * Best

Viewing 1 replies (of 1 total)

 *  Plugin Author [Samuel Aguilera](https://wordpress.org/support/users/samuelaguilera/)
 * (@samuelaguilera)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/debug-log-7/#post-9490897)
 * Hi!
 * I considered to add a rule to block the debug.log but finally decided not to 
   add it as debug.log should be only present in your site while you’re troubleshooting
   something, and after that you should turn off debugging and delete the debug.
   log file.
 * That’s a better best practice than blocking it.
 * PS. Thanks for the review 😉

Viewing 1 replies (of 1 total)

The topic ‘debug.log’ is closed to new replies.

 * ![](https://ps.w.org/sar-one-click-security/assets/icon-128x128.png?rev=1359316)
 * [SAR One Click Security](https://wordpress.org/plugins/sar-one-click-security/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/sar-one-click-security/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/sar-one-click-security/)
 * [Active Topics](https://wordpress.org/support/plugin/sar-one-click-security/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/sar-one-click-security/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/sar-one-click-security/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Samuel Aguilera](https://wordpress.org/support/users/samuelaguilera/)
 * Last activity: [8 years, 8 months ago](https://wordpress.org/support/topic/debug-log-7/#post-9490897)
 * Status: not a support question