aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordoktornotor <notordoktor@gmail.com>2015-11-12 09:37:35 +0100
committerdoktornotor <notordoktor@gmail.com>2015-11-12 09:37:35 +0100
commitfe0caa0901b6e8210b3b47d3beb789b519368b29 (patch)
treef46ab17d2428cf9020d2b27cc75ce9d10d4af389
parent8cb34af4e79847fd5bd1d214cb3c549c05555463 (diff)
downloadpfsense-packages-fe0caa0901b6e8210b3b47d3beb789b519368b29.tar.gz
pfsense-packages-fe0caa0901b6e8210b3b47d3beb789b519368b29.tar.bz2
pfsense-packages-fe0caa0901b6e8210b3b47d3beb789b519368b29.zip
Syslog messages cosmetics
-rwxr-xr-xconfig/squid3/34/squid_cache.xml6
1 files changed, 3 insertions, 3 deletions
diff --git a/config/squid3/34/squid_cache.xml b/config/squid3/34/squid_cache.xml
index 86e5c59f..ecb88d26 100755
--- a/config/squid3/34/squid_cache.xml
+++ b/config/squid3/34/squid_cache.xml
@@ -405,7 +405,7 @@
if ($cachedir_changed) {
// only delete directories under sane paths automatically
if (substr($oldcachedir, 0, 11) === "/var/squid/") {
- log_error("Deleting Squid cache dir '{$oldcachedir}' since 'Hard Disk Cache Location' changed to '{$_POST['harddisk_cache_location']}'.");
+ log_error("[squid] Deleting Squid cache dir '{$oldcachedir}' since 'Hard Disk Cache Location' changed to '{$_POST['harddisk_cache_location']}'.");
// cannot nuke disk cache while Squid is running
squid_stop_monitor();
if (is_service_running('squid')) {
@@ -416,8 +416,8 @@
// new cachedir will be created on squid_resync() below which calls squid_dash_z()
// also the services will get restarted there
} else {
- log_error("'Hard Disk Cache Location' changed to '{$_POST['harddisk_cache_location']}'.");
- log_error("Will NOT delete Squid cache dir '{$oldcachedir}' since it is not located under /var/squid. Delete manually if required.");
+ log_error("[squid] 'Hard Disk Cache Location' changed to '{$_POST['harddisk_cache_location']}'.");
+ log_error("[squid] Will NOT delete Squid cache dir '{$oldcachedir}' since it is not located under /var/squid. Delete manually if required.");
}
}
squid_resync();