coppermine-gallery.com/forum

Support => cpg1.5.x Support => cpg1.5 miscellaneous => Topic started by: cyberdyne2 on February 01, 2012, 03:51:02 AM

Title: Admin log prune / deletion
Post by: cyberdyne2 on February 01, 2012, 03:51:02 AM
How do you prevent the Admin logs from auto-pruning/deleting please, or at least change the frequency of their pruning?
Thank you
Title: Re: Admin log prune / deletion
Post by: Αndré on February 01, 2012, 10:45:24 AM
Open include/init.inc.php, find
spring_cleaning('logs', CPG_DAY * 2, array('log_header.inc.php'));
and comment it out or adjust the second value.
Title: Re: Admin log prune / deletion
Post by: cyberdyne2 on February 01, 2012, 11:37:29 AM
Many thanks Andre
Title: Re: Admin log prune / deletion
Post by: Αndré on February 01, 2012, 11:44:05 AM
Please
Quote from: Joachim Müller on September 28, 2008, 12:46:26 PM
tag your answer as "solved" by clicking on the "Topic Solved" button on the bar at the left hand side at the bottom of your thread.