Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Sarge Reports and Squid Log Rotate

    Scheduled Pinned Locked Moved Cache/Proxy
    2 Posts 2 Posters 1.3k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • cwagzC
      cwagz
      last edited by

      I used to be able to set squid up so that it would not rotate its log files.  I would then create schedules in Sarg and have the monthly schedule rotate the squid logs after it ran.  It seemed like this worked out okay.

      The option to have Sarg rotate the squid log files has been removed.  How can I get more than one day's worth of log data from the squid logs now when running a Sarg report?  If I put a number of days into the squid settings for log rotation it rotates the logs each night and makes the previous days data unavailable to Sarg.

      Thanks.

      Netgate 6100 MAX

      1 Reply Last reply Reply Quote 0
      • L
        LFCavalcanti
        last edited by

        I noticed that too.

        I installed Cron and edited the daily schedule for Squid, removing the rotate command.

        Before:

        /usr/pbi/squid-amd64/sbin/squid -k rotate -f /usr/pbi/squid-amd64/local/etc/squid/squid.conf
        

        Now:

        /usr/pbi/squid-amd64/sbin/squid -f /usr/pbi/squid-amd64/local/etc/squid/squid.conf
        

        –--

        I'm sure someone will jump here and say no change was made to Squid or Sarg that affects this... right...

        –

        Luiz Fernando Cavalcanti
        IT Manager
        Arriviera Technology Group

        1 Reply Last reply Reply Quote 0
        • First post
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.