Title: log files under /plugins/ ?
Last modified: July 7, 2019

---

# log files under /plugins/ ?

 *  [Richard Foley](https://wordpress.org/support/users/richardfoley/)
 * (@richardfoley)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/log-files-under-plugins/)
 * Enabling log files for s2member tries to create a log directory under plugins/
   here: `/wp-content/plugins/s2member-logs`
 * A **far** better place for volatile files would be under `/wp-content/cache/logs`
   or some variation thereof. Placing log files inside the plugin code tree is a
   strange choice, and I recommend changing this to a more suitable location. Please.
 * Many thanks for your consideration.

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [Cristián Lávaque](https://wordpress.org/support/users/clavaque/)
 * (@clavaque)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/log-files-under-plugins/#post-11706687)
 * That’s a good suggestion. Thanks for the idea, Richard! I’m adding it to the 
   list. 🙂
 *  Thread Starter [Richard Foley](https://wordpress.org/support/users/richardfoley/)
 * (@richardfoley)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/log-files-under-plugins/#post-11706730)
 * Great. Just let me know when you implement that (or something similar) and I’ll
   resolve the ticket, Cristián. :thumbs-up:

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘log files under /plugins/ ?’ is closed to new replies.

 * ![](https://ps.w.org/s2member/assets/icon-256x256.png?rev=980067)
 * [s2Member – Excellent for All Kinds of Memberships, Content Restriction Paywalls & Member Access Subscriptions](https://wordpress.org/plugins/s2member/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/s2member/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/s2member/)
 * [Active Topics](https://wordpress.org/support/plugin/s2member/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/s2member/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/s2member/reviews/)

## Tags

 * [cache](https://wordpress.org/support/topic-tag/cache/)
 * [Logs](https://wordpress.org/support/topic-tag/logs/)

 * 2 replies
 * 2 participants
 * Last reply from: [Richard Foley](https://wordpress.org/support/users/richardfoley/)
 * Last activity: [6 years, 11 months ago](https://wordpress.org/support/topic/log-files-under-plugins/#post-11706730)
 * Status: not resolved