Used Zammad version: 5.1.x (latest version from yesterday)
Used Zammad installation type: source
Operating system: Ubuntu 20.04.3
Browser + version: Microsoft Edge 100
Hey guys,
is there an option to reduce the table http_logs?
This table is in my installation 9,3 GB big. The complete database is 10 GB big. So how can I reduce this?
I’ve found this comment bus it doesn’t work for me, nothing happens if I run this command:
You could run HttpLog.cleanup(1.week) via the Zammad rails console as a cronjob as a workaround.
The problem I think is my big Active directory instance which document every change on every AD-object. Changes on our AD-objects are 24/7.
Maybe it is possible to disable the Active Directory logging?
The table is for me only trash and nobody need it.
You can’t disable Zammads HttpLog.
It helps a lot if you link the github commands you’re talking about:
Would you care to tell “what does not work” on that regard?
The provided command by Thorsten is how the scheduler does clean up old entries and thus should work without any issues.
You could double check by using HttpLog.first.created_at which should not be older than 1 week.