mirror of
https://github.com/netbirdio/plugins.git
synced 2026-05-22 18:44:07 -07:00
www/squid: Squid syslog corrections (#4419)
* Adjust syslog-filter to support multiple squid-processes * Change squid facility from squid-1 to squid
This commit is contained in:
@@ -73,7 +73,7 @@ function squid_syslog()
|
||||
{
|
||||
$logfacilities = array();
|
||||
$logfacilities['squid'] = array(
|
||||
'facility' => array('(squid-1)')
|
||||
'facility' => array('squid')
|
||||
);
|
||||
return $logfacilities;
|
||||
}
|
||||
|
||||
@@ -2,5 +2,5 @@
|
||||
# Local syslog-ng configuration filter definition [squid_access].
|
||||
###################################################################
|
||||
filter f_local_squid_access {
|
||||
program("(squid-1)");
|
||||
program("^(squid-|squid-coord-)\\d+");
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user