aboutsummaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2008-10-26 02:34:21 +0000
committerScott Ullrich <sullrich@pfsense.org>2008-10-26 02:34:21 +0000
commit1f4162ea5249cd62ef32ed6b9c9bdc6fcf4e3635 (patch)
treead296c49d87bd19bafb83d158c882061c7003496 /packages
parent92555bac7b99b9ac078ce7717d682ca51db92b24 (diff)
downloadpfsense-packages-1f4162ea5249cd62ef32ed6b9c9bdc6fcf4e3635.tar.gz
pfsense-packages-1f4162ea5249cd62ef32ed6b9c9bdc6fcf4e3635.tar.bz2
pfsense-packages-1f4162ea5249cd62ef32ed6b9c9bdc6fcf4e3635.zip
Add "TinyDNS Server logs as of $date"
Diffstat (limited to 'packages')
-rw-r--r--packages/tinydns/tinydns_view_logs.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/tinydns/tinydns_view_logs.php b/packages/tinydns/tinydns_view_logs.php
index 251cec2f..60af4a0d 100644
--- a/packages/tinydns/tinydns_view_logs.php
+++ b/packages/tinydns/tinydns_view_logs.php
@@ -33,6 +33,7 @@ require("guiconfig.inc");
if($_REQUEST['getactivity']) {
$tinydnslogs = `cat /etc/tinydns/log/main/current | /usr/local/bin/tai64nlocal | php -f /usr/local/pkg/tinydns_parse_logs.php | grep -v ":0"`;
+ echo "TinyDNS Server logs as of " . date("D M j G:i:s T Y") . "\n\n";
echo $tinydnslogs;
exit;
}
@@ -73,7 +74,7 @@ if ($_POST['clear']) {
});
}
function activitycallback(transport) {
- $('tinydnslogs').innerHTML = '<font face="Courier"><font size="1"><pre>' + transport.responseText + '</pre></font>';
+ $('tinydnslogs').innerHTML = '<font face="Courier"><pre>' + transport.responseText + '</pre></font>';
setTimeout('getlogactivity()', 2500);
}
setTimeout('getlogactivity()', 1000);