202-ecommerce / stripe_official

After years of hard work with Stripe connector for PrestaShop, 202 ecommerce stop the development of Stripe module on January 9th 2023. Thanks for all contributors that help us!
20 stars 20 forks source link

clean the table ps_stripe_official_processlogger #83

Closed Habibouldmoussa closed 3 years ago

Habibouldmoussa commented 3 years ago

hi I have the ps_stripe_official_processlogger table of several megabytes which slows down a client's site then I emptied it without making him lose important or sensitive data it takes more than 500 MB it is really huge due to spam attacks, I do not take care of spam just to lighten and clean the site cordialy

mribeiro202 commented 3 years ago

hi @omhabibal,

For your informations by default logs are kept 5 days and then they are removed automatically. This is something you can configure using both STRIPE_OFFICIAL_EXTLOGS_ERASING_DAYSMAX, STRIPE_OFFICIAL_EXTLOGS_ERASING_DISABLED variables. Feel free to modify those values in ps_configuration table if you think this makes sense for you.

Have a nice day.

mribeiro202 commented 3 years ago

Hi @omhabibal

Without any news from you I'm closing this issue. Do not hesitate to contact us again if you need to.

Have a nice day