XF 2.2 My xf_error_log table is 100GB+

Neutral Singh

Well-known member
Licensed customer
My xf_error_log table is 100GB o_O
One error is being generated by hundreds every second.
How can I safely empty this table without disturbing the website operations?
TIA
 

Attachments

  • Screenshot 2026-11-12 at 10.10.58 AM.webp
    Screenshot 2026-11-12 at 10.10.58 AM.webp
    115.4 KB · Views: 26
  • Screenshot 2026-11-12 at 10.13.46 AM.webp
    Screenshot 2026-11-12 at 10.13.46 AM.webp
    115.5 KB · Views: 26
Last edited:
Via a SQL command will do it. The auto increment will be correct also. Backing up the DB is recommended but not exactly necessary.
Code:
TRUNCATE TABLE xf_error_log;
 
Back
Top Bottom