You are not logged in.
Pages: 1
HI ,
I use GLPI 0.90.5.
When i want to create a ticket it's very long .
i see on the database glpi a big table (log table).
I search a script or plugin for purge the log but i don't found this.
Can you help me please to purge the log table .
thanks
Best regards
Offline
nobody have any idea please ?
Offline
In Tools directory (https://github.com/glpi-project/glpi/tr … ixes/tools) you have a script to clean this (cleanhistory.php)
At the beginning of this file you have the usage of it
CentOS 6.5 - CentOS 7.x
PHP 5.6 - PHP 7.x - MySQL 5.6 - MariaDB 10.2 + APC + oOPcache
GLPI from 0.72 to dev version
Certifiée ITIL (ITV2F, ITILF, ITILOSA)
Offline
In Tools directory (https://github.com/glpi-project/glpi/tr … ixes/tools) you have a script to clean this (cleanhistory.php)
At the beginning of this file you have the usage of it
Hi,
Thanks for tip, i would ike to knos you have some examples for clear all log > 1 month, best regards.
Willian Rocha
Offline
php cleanhistory.php --item=Computer --type=1 --delay=1
=> you will see all computer with device added older than 1 month.
If you add --run=1 the glpi_logs will be clean for this request
If you just indicated php cleanhistory.php --delay=1 it will clean all history older than 1 month
CentOS 6.5 - CentOS 7.x
PHP 5.6 - PHP 7.x - MySQL 5.6 - MariaDB 10.2 + APC + oOPcache
GLPI from 0.72 to dev version
Certifiée ITIL (ITV2F, ITILF, ITILOSA)
Offline
Pages: 1