From a91d24350c263e153f8f577fbc23b56b65b84062 Mon Sep 17 00:00:00 2001 From: Dennis Neuhaeuser Date: Sat, 11 Apr 2015 21:56:46 +0200 Subject: write additional virus.log file this writes a logfile when a virus was found --- config/squid3/34/squid_clwarn.php | 1 + 1 file changed, 1 insertion(+) (limited to 'config') diff --git a/config/squid3/34/squid_clwarn.php b/config/squid3/34/squid_clwarn.php index 0bd97d58..8de016f3 100644 --- a/config/squid3/34/squid_clwarn.php +++ b/config/squid3/34/squid_clwarn.php @@ -56,6 +56,7 @@ $vr[1]=""; $virus = preg_replace($vp,$vr,$virus); +error_log(date("Y-m-d H:i:s")." | VIRUS FOUND | ".$virus." | ".$url." | ".$source." | ".$user."\n", 3, "/var/log/c-icap/virus.log"); ?>