pfSense Support Subscription

Author Topic: Squid Access Logs  (Read 2244 times)

0 Members and 1 Guest are viewing this topic.

Offline rhammond

  • Newbie
  • *
  • Posts: 15
  • Karma: +0/-0
    • View Profile
Squid Access Logs
« on: April 14, 2011, 08:18:08 am »
We have over 3 years worth of access logs recorded. 'Log Rotate' was blank so that it would keep all of the logs. A management decision was made to keep only 180 days worth of data. I changed the log rotate to 180 and saved, but the access logs older than 180 days are still available. Do I need to delete the old logs from the command line or will they remove themselves at some point?

Offline jimp

  • Administrator
  • Hero Member
  • *****
  • Posts: 14990
  • Karma: +4/-0
    • View Profile
Re: Squid Access Logs
« Reply #1 on: April 14, 2011, 12:31:07 pm »
That setting isn't likely to do what you want. Setting it that way will rotate the logs once every 180 days. So every 180 days the log would be rotated and you'd have no data in the current log at that point.
Need help fast? Commercial Support!

Co-Author of pfSense: The Definitive Guide. - Check the Doc Wiki for FAQs.

Do not PM for help!

Offline rhammond

  • Newbie
  • *
  • Posts: 15
  • Karma: +0/-0
    • View Profile
Re: Squid Access Logs
« Reply #2 on: April 14, 2011, 01:21:11 pm »
I'm trying to configure it so that only the last 180 days of access logs are available at any given time. Currently, we have over 3 years worth. What settings would I need to change to accomplish that?

Offline miles267

  • Full Member
  • ***
  • Posts: 240
  • Karma: +0/-0
    • View Profile
Re: Squid Access Logs
« Reply #3 on: August 29, 2011, 08:40:35 am »
Have you found a solution to this?  I am trying to figure out how to control how much history is analyzed by lightsquid?  Not sure whether to leave the log rotato variable in squid blank, etc.  Thanks.