Navigation

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

    Deleting old squid logs

    Cache/Proxy
    2
    4
    2628
    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)

        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  ;)

            1 Reply Last reply Reply Quote 0
            • First post
              Last post

            Products

            • Platform Overview
            • TNSR
            • pfSense Plus
            • Appliances

            Services

            • Training
            • Professional Services

            Support

            • Subscription Plans
            • Contact Support
            • Product Lifecycle
            • Documentation

            News

            • Media Coverage
            • Press
            • Events

            Resources

            • Blog
            • FAQ
            • Find a Partner
            • Resource Library
            • Security Information

            Company

            • About Us
            • Careers
            • Partners
            • Contact Us
            • Legal
            Our Mission

            We provide leading-edge network security at a fair price - regardless of organizational size or network sophistication. We believe that an open-source security model offers disruptive pricing along with the agility required to quickly address emerging threats.

            Subscribe to our Newsletter

            Product information, software announcements, and special offers. See our newsletter archive to sign up for future newsletters and to read past announcements.

            © 2021 Rubicon Communications, LLC | Privacy Policy