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

    Deleting old squid logs

    Scheduled Pinned Locked Moved Cache/Proxy
    4 Posts 2 Posters 3.2k 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.
    • S
      SixXxShooTeR
      last edited by

      I removed the squid package a while ago but noticed that the log files are still there under /var/squid/logs/

      Can I safely delete the entire file manually or is there a command to empty it? The squid access.log is about 1GB so I'm trying to clear some space. Thanks!

      1 Reply Last reply Reply Quote 0
      • C
        chris4916
        last edited by

        I don't see why you couldn't delete it manually  ::)

        BTW, this is one of the issue with Squid as a package with pfSense: it doesn't rely on automatic log rotation and clean-up, as far as I understand. This means that you cloud end-up with full partition. (To be checked twice but this was my basic understanding when I looked at this some time ago)

        Jah Olela Wembo: Les mots se muent en maux quand ils indisposent, agressent ou blessent.

        1 Reply Last reply Reply Quote 0
        • S
          SixXxShooTeR
          last edited by

          Okay, I'm just going to delete the access.log and see what happens. I wasn't sure if deleting that log and then reinstalling the package later would cause some sort of error.

          1 Reply Last reply Reply Quote 0
          • C
            chris4916
            last edited by

            No, you will not get any error because of missing logs when installing this package again. Don't worry  ;)

            Jah Olela Wembo: Les mots se muent en maux quand ils indisposent, agressent ou blessent.

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