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

    DIAGNOSE: Your Squid log.

    Scheduled Pinned Locked Moved pfSense Packages
    1 Posts 1 Posters 2.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.
    • cyber7C
      cyber7
      last edited by

      Hi Guys

      Here is a tip for you:  If you are in need of diagnosing and viewing your squid-traffic in real-time, create a script that does the following (of course you can just type the command in, but by putting it into a script, it makes for easy-recall):

      (I use on all my linus systems "/scripts" for my scripts…)
      The content of my "/scripts/tails.sh":

      • "tail -f /var/squid/log/access.log"

      (Without the "")
      PS - remember to make it executable (chmod 777 /scripts/tails.sh)
      ps1- you can use this format to view any of your logs in real-time :)

      I use:

      • tails.sh (For tail Squid): tail -f /var/squid/log/access.log

      • tailb.sh (For tail SquidGuard block: tail -f /var/squidGuard/log/block.log

      Kind regards
      Aubrey Kloppers
      South Africa

      When you pause to think, do you start again?

      2.2.4-RELEASE (amd64)
      built on Sat Jul 25 19:57:37 CDT 2015
      FreeBSD 10.1-RELEASE-p15
      and
      pfSense 2.3.2-RELEASE-p1 (amd64 full-install) on pfSense

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