Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: Admin log prune / deletion  (Read 2496 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.018 seconds with 21 queries.