forum.coppermine-gallery.net

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
Code: [Select]
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
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.