aboutsummaryrefslogtreecommitdiffstats
path: root/config/squid/squid.inc
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2010-06-29 08:28:43 -0400
committerjim-p <jimp@pfsense.org>2010-06-29 08:28:43 -0400
commit53fdca7021876f5e698c0a6b115a5a22956f3c8b (patch)
tree5a0b75fd26c10db583dedbbafc317bcb8e6180a5 /config/squid/squid.inc
parent6dc97aeeb4026d8c7bd8f8788e04f26ee5f9579b (diff)
downloadpfsense-packages-53fdca7021876f5e698c0a6b115a5a22956f3c8b.tar.gz
pfsense-packages-53fdca7021876f5e698c0a6b115a5a22956f3c8b.tar.bz2
pfsense-packages-53fdca7021876f5e698c0a6b115a5a22956f3c8b.zip
Correct default logging path so it matches lightsquid's default.
Diffstat (limited to 'config/squid/squid.inc')
-rw-r--r--config/squid/squid.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/config/squid/squid.inc b/config/squid/squid.inc
index bbc50313..86fb61a0 100644
--- a/config/squid/squid.inc
+++ b/config/squid/squid.inc
@@ -268,7 +268,7 @@ function squid_deinstall_command() {
squid_install_cron(false);
$settings = &$config['installedpackages']['squidcache']['config'][0];
$cachedir =($settings['harddisk_cache_location'] ? $settings['harddisk_cache_location'] : '/var/squid/cache');
- $logdir = ($settings['log_dir'] ? $settings['log_dir'] : '/var/squid/log');
+ $logdir = ($settings['log_dir'] ? $settings['log_dir'] : '/var/squid/logs');
update_status("Removing swap.state ... One moment please...");
update_output_window("$plswait_txt");
mwexec('rm -rf $cachedir/swap.state');
@@ -618,7 +618,7 @@ function squid_resync_general() {
$hostname = ($settings['visible_hostname'] ? $settings['visible_hostname'] : 'localhost');
$email = ($settings['admin_email'] ? $settings['admin_email'] : 'admin@localhost');
- $logdir = ($settings['log_dir'] ? $settings['log_dir'] : '/var/squid/log');
+ $logdir = ($settings['log_dir'] ? $settings['log_dir'] : '/var/squid/logs');
$logdir_cache = $logdir . '/cache.log';
$logdir_access = ($settings['log_enabled'] == 'on' ? $logdir . '/access.log' : '/dev/null');