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 2023-09-20 17:18:37

Changemanager
Member
Registered: 2023-02-21
Posts: 39

clean logs

Hello.

h-ttps://forum.glpi-project.org/viewtopic.php?pid=503253#p503253


Taking into account what has been said above, I need to be able to delete more logs.

Is it possible to delete records directly from the BBDD in glpi_logs?

Can records in glpi_queuednotifications also be deleted manually, or are there dependencies?

Thank you.

Offline

#2 2023-09-21 00:10:23

LaDenrée
HELPER
Registered: 2012-11-19
Posts: 6,287

Re: clean logs

notification are sent to dustbin, once they are sent to user.

Set automatic action "queuednotificationclean" to purge notifications dustbin.

you can delete lines in glpi_logs table without any problem .


Trouver la panne avant de réparer...
GLPI10.0.16 (ubuntu 22.04 PHP8.1  Mariadb10.6 ) plugins : comportements 2.7.3 reports 1.16.0 formcreator 2.13.9, datainjection 2.13.5 fields 1.21.9

Offline

#3 2023-10-10 17:42:23

Changemanager
Member
Registered: 2023-02-21
Posts: 39

Re: clean logs

I don't see how to free up space in this table (glpi_queuednotifications); it just keeps growing and growing. I have the 'queuednotificationclean' automatic task enabled and a short retention, but in its log, it doesn't delete anything (-1    Action completed, no processing required). And no matter how many messages I manually delete from the sent items' trash, it just keeps growing endlessly.

Any idea what's happening? I'm on version 10.0.9."

29k rows for 5.3Gb...

thankyou

Last edited by Changemanager (2023-10-10 17:53:36)

Offline

#4 2023-10-11 08:43:21

LaDenrée
HELPER
Registered: 2012-11-19
Posts: 6,287

Re: clean logs

check if you have lot of free space in your table; if yes then optimize the table

show table status like "glpi_queuednotifications"


Trouver la panne avant de réparer...
GLPI10.0.16 (ubuntu 22.04 PHP8.1  Mariadb10.6 ) plugins : comportements 2.7.3 reports 1.16.0 formcreator 2.13.9, datainjection 2.13.5 fields 1.21.9

Offline

Board footer

Powered by FluxBB