Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: Admin log prune / deletion  (Read 2529 times)

0 Members and 1 Guest are viewing this topic.

cyberdyne2

  • Coppermine regular visitor
  • **
  • Country: gb
  • Offline Offline
  • Posts: 75
Admin log prune / deletion
« 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
Logged
v.1.5.22

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: Admin log prune / deletion
« Reply #1 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.
Logged

cyberdyne2

  • Coppermine regular visitor
  • **
  • Country: gb
  • Offline Offline
  • Posts: 75
Re: Admin log prune / deletion
« Reply #2 on: February 01, 2012, 11:37:29 am »

Many thanks Andre
Logged
v.1.5.22

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: Admin log prune / deletion
« Reply #3 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.
Logged
Pages: [1]   Go Up
 

Page created in 0.015 seconds with 19 queries.