Skip to content

Commit

Permalink
Update squid_monitor_data.php
Browse files Browse the repository at this point in the history
  • Loading branch information
NanoCaiordo committed Nov 18, 2017
1 parent cfb92fd commit b7c4da7
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -32,7 +32,7 @@
switch ($program) {
case 'squid':
// Define log file
$log = '/var/squid/logs/access.log';
$log = $config['installedpackages']['squid']['config'][0]['log_dir'].'/access.log';
// Show table headers
show_tds(array("Date", "IP", "Status", "Address", "User", "Destination"));
// Fetch lines
Expand Down Expand Up @@ -67,7 +67,7 @@
break;
case 'squid_cache';
// Define log file
$log = '/var/squid/logs/cache.log';
$log = $config['installedpackages']['squid']['config'][0]['log_dir'].'/cache.log';
// Show table headers
show_tds(array("Date-Time", "Message"));
// Fetch lines
Expand Down

0 comments on commit b7c4da7

Please sign in to comment.