hi,

for such an interesting feature, why not proposed a patch for the core directly ?
It may be integrated as a cron job.

Regards

Julien


Le 02/07/2013 13:10, Moron, Olivier a écrit :
Dear all,

I've developed a small plugin to manage a rotation of the log files in the 
"files/_logs" folder. This is very useful to prevent file logs to grow and grow 
for ever.
It is based on a cron job which has a parameter (= number of days for log 
retention).
The rotation period is daily based: the *.log are renamed with a day stamp, and 
very old log files (based on the day stamp and retention day quantity 
comparison) are deleted

Could you create a new plugin project (named: 'circularlogs') on the forge and 
assigned it me (tomolimo) as manager for it?

Thank you,
Regards,

Olivier MORON
Miscellaneous Program Member

RAYNET SNC
Tel : +33 4 76 33 49 52
Fax: +33 4 76 70 56 63



_______________________________________________
Glpi-dev mailing list
Glpi-dev@gna.org
https://mail.gna.org/listinfo/glpi-dev


_______________________________________________
Glpi-dev mailing list
Glpi-dev@gna.org
https://mail.gna.org/listinfo/glpi-dev

Reply via email to