-
Notifications
You must be signed in to change notification settings - Fork 759
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Squid logs are not sent to syslog #3454
Comments
|
This wasn't a head-on accident, "/var/ log/squid.syslog.log" is a really weird way to name a file for a service that throws its logs into /var/log/squid/" to begin with. I think the preferred way was to have something like a "proxy.log" file, but that would be reserved for core services then since we can't "plug" the file name at the moment from separate plugins. |
|
The naming is weird indeed, but we can't mix syslog and file targets due to clog at the moment. The target was used, so we should place something back to make sure the feature can work. /var/log/squid.log is probably the closest thing to logic within the boundaries we have at the moment. |
…hink of, since we can't combine clog and plain log it's better to make the choices explicit in our code. Access log over syslog will write to /var/log/squid.log, where the normal plain log would write to /var/log/squid/access.log For #3454
|
Will be in 19.1.10. |
…hink of, since we can't combine clog and plain log it's better to make the choices explicit in our code. Access log over syslog will write to /var/log/squid.log, where the normal plain log would write to /var/log/squid/access.log For opnsense#3454
…hink of, since we can't combine clog and plain log it's better to make the choices explicit in our code. Access log over syslog will write to /var/log/squid.log, where the normal plain log would write to /var/log/squid/access.log For opnsense#3454
Description
Squid access logs are sent to the captive portal logs when Web Proxy > Log Target > Syslog is selected. This stops them from being sent to the syslog server at all (probably because Captive Portal is not used in my setup)
Other logtypes get correctly sent to the syslog server (firewall logs, surricata logs etc.)
To Reproduce
Expected behavior
Screenshots
Environment
SW: OPNsense 19.1.4-amd64/ FreeBSD 11.2-RELEASE-p9-HBSD / OpenSSL 1.0.2r 26 Feb 2019
HW: APU2C4
NIC: Intel i210AT LAN
The text was updated successfully, but these errors were encountered: