You are not logged in.

Announcement

 Téléchargez la dernière version stable de GLPI      -     Et vous, que pouvez vous faire pour le projet GLPI ? :  Contribuer
 Download last stable version of GLPI                      -     What can you do for GLPI ? :  Contribute

#1 2018-08-09 16:44:29

MP
Guest
Registered: 2018-08-09
Posts: 6

[resolved] Purge/cancel History

Hi, I would like to purge old history (in Asset Computer for example). In version 9.3 I can see in "Automatic Actions" the function "PurgeLogs" but it seems does not work.
I have tried CLI and GLPI with "Execute", It took some time..but history stil remain the same.
Any suggestion?
Thank you in advance
Massimo

Last edited by MP (2018-08-27 12:31:30)

Offline

#2 2018-08-10 09:28:14

orthagh
Administrator
From: TECLIB - CAEN
Registered: 2010-11-30
Posts: 559
Website

Re: [resolved] Purge/cancel History

Hello

Check Setup > General menu, log purge tab to set it up

Offline

#3 2018-08-10 09:37:58

MP
Guest
Registered: 2018-08-09
Posts: 6

Re: [resolved] Purge/cancel History

Thank you for the reply. I have done so, setting  "Delete if older than 6 months" .
Then, in "Automatic actions"-> PurgeLogs-> I have tried CLI/GLPI both with "Execute"..but not result. Still have a lot of history...

Offline

#4 2018-08-13 02:06:31

KKAdmin
Guest
From: Germany
Registered: 2010-03-05
Posts: 866

Re: [resolved] Purge/cancel History

I believe there is a entity setting.


You can mark this threat as [resolved] in subject of your threat. (This is only available edit of the first post.) It is good for users who help others to quickly see which post is still open.
##############################################
GLPI 9.2.3 /Ubuntu 16.04.4 LTS
Apache/2.4.18 (Ubuntu) - PHP 7.0.30-0ubuntu0.16.04.1 - MySQL 5.7.22-0ubuntu0.16.04.1

Online

#5 2018-08-21 13:50:51

MP
Guest
Registered: 2018-08-09
Posts: 6

Re: [resolved] Purge/cancel History

Thank you KKAdmin, but what do you mean exactly?

Offline

#6 2018-08-22 19:15:27

KKAdmin
Guest
From: Germany
Registered: 2010-03-05
Posts: 866

Re: [resolved] Purge/cancel History

Oh sorry - wrong post. orthagh already told you the setup.

Maybe there is a bug.
I change to 2 month and run the task. The log http://yourip/front/event.php was cleaned but i had history logs from year 2016 in my computer history. I changed to delete all and the history logs go away...


You can mark this threat as [resolved] in subject of your threat. (This is only available edit of the first post.) It is good for users who help others to quickly see which post is still open.
##############################################
GLPI 9.2.3 /Ubuntu 16.04.4 LTS
Apache/2.4.18 (Ubuntu) - PHP 7.0.30-0ubuntu0.16.04.1 - MySQL 5.7.22-0ubuntu0.16.04.1

Online

#7 2018-08-23 08:12:27

MP
Guest
Registered: 2018-08-09
Posts: 6

Re: [resolved] Purge/cancel History

Thank you KKAdmin,
I did the same..
;-)
Waiting for the bug's resolution.
Have a nice day.

Offline

#8 2018-08-23 20:37:21

KKAdmin
Guest
From: Germany
Registered: 2010-03-05
Posts: 866

Re: [resolved] Purge/cancel History

Opened the issue https://github.com/glpi-project/glpi/issues/4529

Last edited by KKAdmin (2018-08-23 20:37:40)


You can mark this threat as [resolved] in subject of your threat. (This is only available edit of the first post.) It is good for users who help others to quickly see which post is still open.
##############################################
GLPI 9.2.3 /Ubuntu 16.04.4 LTS
Apache/2.4.18 (Ubuntu) - PHP 7.0.30-0ubuntu0.16.04.1 - MySQL 5.7.22-0ubuntu0.16.04.1

Online

#9 2018-08-24 11:05:35

cedric-anne
Guest
Registered: 2018-07-02
Posts: 2

Re: [resolved] Purge/cancel History

Offline

#10 2018-08-27 12:31:03

MP
Guest
Registered: 2018-08-09
Posts: 6

Re: [resolved] Purge/cancel History

Thanks a lot!..

Offline

Board footer

Powered by FluxBB