Navigation

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

    Squid/Lightsquid + Logs

    pfSense Packages
    2
    5
    1322
    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.
    • M
      m3usv0x last edited by

      Greetings,

      Squid likes to have by default for the directory:
      /var/squid/logs.
      It seems the tab "real time" is pointed at this directory and I don't know how to relocate it.

      Lightsquid is pointed at:
      /var/squid/log.
      Without this configuration, the reporting feature does not function.

      For obvious reasons.
      Now, it seems I can do only one and not the other.

      I am a complete novice about pfSense and am just having a lot of fun looking at a new challenge.
      If someone would be so kind as to help me make both features work, I would be very appreciative.

      Thank you!

      1 Reply Last reply Reply Quote 0
      • marcelloc
        marcelloc last edited by

        try this at console /ssh

        ln -s  /var/squid/logs /var/squid/log

        EDIT:
        lightsquid points to /var/squid/logs

        lightsquid.inc:		define('LS_SQUIDLOGPATH', '/var/squid/logs');
        

        Treinamentos de Elite: http://sys-squad.com

        Help a community developer! ;D

        1 Reply Last reply Reply Quote 0
        • M
          m3usv0x last edited by

          Can you explain how and where I enter the command you gave me?

          What does this modify, the location Lightsquid looks for the log, or the location Squid looks for the log?

          1 Reply Last reply Reply Quote 0
          • M
            m3usv0x last edited by

            @marcelloc:

            try this at console /ssh

            ln -s  /var/squid/logs /var/squid/log

            EDIT:
            lightsquid points to /var/squid/logs

            lightsquid.inc:		define('LS_SQUIDLOGPATH', '/var/squid/logs');
            

            Herp derp, just got home and answered one of my questions.

            Still, where do I enter this?

            1 Reply Last reply Reply Quote 0
            • marcelloc
              marcelloc last edited by

              If you don't know how to manage your firewall via console/ssh, just try a package uninstall and reinstall.

              I've checked  lightsquid code and it does look for squid logs on /var/squid/logs.

              Treinamentos de Elite: http://sys-squad.com

              Help a community developer! ;D

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