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

    Sarg not deleting old logs

    Scheduled Pinned Locked Moved pfSense Packages
    2 Posts 1 Posters 1.8k 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.
    • V
      vatson
      last edited by

      I am running pfSense 2.1.2 with Sarg 2.3.6_2 pkg v.0.6.3. Everything is fine, except that old Sarg reports are not deleted. I configured limit settings in 'Status: Sarg Settings' like this:

      Reports list limits: 10
      Reports days limits: 10

      Schedule is defined with frequency '1d', and indeed reports are generated every day. However, all the reports since I started using Sarg on May 13 are still present. At the moment there are 16 of them.

      In /usr/pbi/sarg-amd64/etc/sarg.conf, the following line is present:

      lastlog 10

      so I don't understand why old logs are not deleted.

      1 Reply Last reply Reply Quote 0
      • V
        vatson
        last edited by

        Turns out this is a bug in sarg. Old reports are not deleted if 'Generate the index tree by file' is not selected in General settings.

        http://sourceforge.net/p/sarg/bugs/159/

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