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

Squid - empty access.log

Scheduled Pinned Locked Moved pfSense Packages
8 Posts 3 Posters 14.5k 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.
  • P
    plasticWan
    last edited by Sep 9, 2010, 11:32 PM

    Hi guys,

    I searched the forum but didn't find a solution (or a similar problem), sorry if this has already been answered.

    So basically my problem is that Squid always leaves the access.log file blank. >:(
    The configuration specifies /var/squid/log as log directory and "enable logging is checked".
    The permissions are the same as for cache.log (that is being written correctly) and I can't find a Squid error message in the logs.

    So does anyone have an idea?
    Also, is there a specific error log file for Squid, or is it just supposed to be /var/log/system.log?

    It's been this way for a while and now people are asking me to fix it (I should have expected this would happen at some point), so any help is much welcome!
    Thanks! ;D

    1 Reply Last reply Reply Quote 0
    • J
      jimp Rebel Alliance Developer Netgate
      last edited by Sep 10, 2010, 2:02 PM

      The most common way that can happen is if no traffic is actually passing through squid. :)

      Are you sure the proxy is actually being used?

      Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

      Need help fast? Netgate Global Support!

      Do not Chat/PM for help!

      1 Reply Last reply Reply Quote 0
      • P
        plasticWan
        last edited by Sep 10, 2010, 5:18 PM

        Well I tested some urls from the blacklist to make sure the proxy works, and the cache.log files seem to grow up (I'm not sure it's a sign the traffic is going through Squid).

        1 Reply Last reply Reply Quote 0
        • P
          plasticWan
          last edited by Sep 22, 2010, 2:05 PM

          Up please!!

          Really no idea?

          1 Reply Last reply Reply Quote 0
          • J
            jimp Rebel Alliance Developer Netgate
            last edited by Sep 22, 2010, 2:16 PM

            Did you check the box to enable logging on the main squid config page?

            Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

            Need help fast? Netgate Global Support!

            Do not Chat/PM for help!

            1 Reply Last reply Reply Quote 0
            • P
              plasticWan
              last edited by Sep 22, 2010, 2:23 PM

              Yes I did!

              1 Reply Last reply Reply Quote 0
              • T
                T.Rodriguez
                last edited by Oct 4, 2010, 12:01 PM

                Hi,

                i've got a quite similar problem, when i check the "enable logging" box i can't access to internet anymore.
                i've tried to enable access_log by editing manually squid.conf but without results.
                any suggestions would be really appreciated

                1 Reply Last reply Reply Quote 0
                • P
                  plasticWan
                  last edited by Oct 5, 2010, 12:23 PM

                  Sorry, I still have no solution.

                  My problem seems a bit different though, as the box is checked and I have no problem getting to the Internet.
                  But I haven't tried to edit the config file, which one is it?

                  1 Reply Last reply Reply Quote 0
                  • First post
                    Last post
                  Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                    This community forum collects and processes your personal information.
                    consent.not_received