Email Log Enhancement

  • Alan Bennett
  • Topic Author
  • Offline
  • Elite Member
  • Elite Member
More
1 year 2 months ago #156341 by Alan Bennett
Email Log Enhancement was created by Alan Bennett
I like to have this enabled so I can ensure the formatting and timing of emails is accurate.

The drawback is that it can grow quite large as there is no way of limiting the size of it.

How about adding a config item that can be set to limit the size of the log in either terms of:
- max entries, e.g. 1000 entries
- max retention, e.g. 90 days

Please Log in or Create an account to join the conversation.

More
1 year 2 months ago #156353 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Email Log Enhancement
Or better, a system plugin to delete these logs automatically when it is older than certain number of days !

Please Log in or Create an account to join the conversation.

  • Alan Bennett
  • Topic Author
  • Offline
  • Elite Member
  • Elite Member
More
1 year 2 months ago #156358 by Alan Bennett
Replied by Alan Bennett on topic Email Log Enhancement
Works for me Tuan

Please Log in or Create an account to join the conversation.

More
1 year 1 month ago #157234 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Email Log Enhancement
Hi Alan

Just had the plugin implemented. You can download latest packages of Membership Pro, update it to your site

Then enable System - Membership Pro Clean Email Logs plugin and configure it to delete emails older than certain number of days via Number Days parameter (by default, it's 30 days)

Regards,

Tuan

Please Log in or Create an account to join the conversation.

  • Alan Bennett
  • Topic Author
  • Offline
  • Elite Member
  • Elite Member
More
1 year 1 month ago #157256 by Alan Bennett
Replied by Alan Bennett on topic Email Log Enhancement
Thanks Tuan

Implemented with setting of 90 days. I will report back if I see any issues once I have data that is that old.

Alan

Please Log in or Create an account to join the conversation.

More
1 year 1 month ago #157257 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Email Log Enhancement
Thanks Alan. I also updated the plugin code to make it default to 90 days, too. Just in case someone just enabled the plugin without actual check the parameters

Tuan
The following user(s) said Thank You: LMKweb

Please Log in or Create an account to join the conversation.