User Tools

Site Tools


pfsense:squid:logging:use_a_custom_log_format_for_squid

PFSense - Squid - Logging - Use a custom log format for Squid

Navigate to Services → Squid Proxy Server.

In Logging Settings section:

  • Enable Access Logging: Not Checked.

Click Show Advanced Options button at the bottom of the page.

In Custom Options (Before Auth) section:

  • Add the following lines:
    logformat squidmimemod %ts.%03tu %6tr %>a %Ss/%03>Hs %<st %rm %ru %un %Sh/%<A %mt %rp %>st "%{Referer}>h"
    
    access_log /var/squid/logs/access.log squidmimemod
    
    logfile_rotate 90
pfsense/squid/logging/use_a_custom_log_format_for_squid.txt · Last modified: 2020/07/15 10:30 by 127.0.0.1

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki