You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feedme_logs are often the cause for blown up databases supporting Craft CMS clients (we provide web hosting), usually the biggest table. Customer are often unaware. So plus one for this feature.
+1-ing this, came up in one of our projects as well (though not in the realms of 10GB+, that's wild).
Also I was thinking, why should the logs be saved into the database at all, when there is an established structure with log files being stored in storage/logs (as it also is the case in other frameworks, like Laravel)? I'd prefer using the traditional approach, but maybe that's just me. if there is a good reason for storing logs in the database, I'm genuinely curious to learn more about it.
Description
File-based logs have rotation, but with the move to db logs, we should have a way to automatically limit the size of that table.
The idea is to add a
maxLogAge
:feed-me/logs/clear
#1487 (comment)
The text was updated successfully, but these errors were encountered: