Squid/Lightsquid + Logs



  • 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!



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


  • 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?



  • @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?



  • 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.


Log in to reply