diff --git a/html/includes/dev-syslog.inc b/html/includes/dev-syslog.inc index ea740df5c..032032dc3 100644 --- a/html/includes/dev-syslog.inc +++ b/html/includes/dev-syslog.inc @@ -3,7 +3,7 @@ $query = "SELECT * FROM `syslog` WHERE `host` = '$_GET[id]' ORDER BY `datetime` DESC LIMIT 0,250"; $data = mysql_query($query); -echo("
| $entry[datetime] | -+ | $entry[priority] | -+ | $entry[program] |
diff --git a/html/pages/syslog.php b/html/pages/syslog.php
index 70c82fb52..3cc7a25ec 100644
--- a/html/pages/syslog.php
+++ b/html/pages/syslog.php
@@ -1,7 +1,7 @@
-$sql = "select *,DATE_FORMAT(datetime, '%D %M %Y %T') as humandate from logs ORDER BY datetime DESC LIMIT 1000";
+$sql = "select *,DATE_FORMAT(datetime, '%D %M %Y %T') as humandate from syslog ORDER BY datetime DESC LIMIT 1000";
echo("
|