• Resolved alfait

    (@alfaithu)


    Hi,

    It would be nice to have logrotate function. I can delete all logs, but it doesn’t do it automatically. Could you introduce a function for auto delete logs after x days, or just set the maximal log entries? Another one, would be nice to set a threshold (100 logs/sec) to don’t save logs (under attack mode).
    Where can I clean the aiowps_message_store table? It is more than 10 MB

    Thanks for your help.

    • This topic was modified 1 year, 1 month ago by alfait.
Viewing 1 replies (of 1 total)
  • Plugin Support hjogiupdraftplus

    (@hjogiupdraftplus)

    Hi @alfaithu

    Right now audit logs are cleared using cronjob after 90 days you can define below constant AIOWPSEC_PURGE_AUDIT_LOGS_AFTER_DAYS to 10 days to remove after 10 days.

    define('AIOWPSEC_PURGE_AUDIT_LOGS_AFTER_DAYS', 10);

    Yes the threshold 100 / sec – similar functionality rate limit is already on our priority list so we are going to directly block that IP if such case.

    aiowps_message_store you need to remove directly from the database using a MySQL client like phpMyAdmin etc.

Viewing 1 replies (of 1 total)
  • The topic ‘Logrotate function’ is closed to new replies.