diff --git a/html/pages/device/logs.inc.php b/html/pages/device/logs.inc.php
index 8aa913e67..0b8481a68 100644
--- a/html/pages/device/logs.inc.php
+++ b/html/pages/device/logs.inc.php
@@ -6,17 +6,25 @@ print_optionbar_start();
echo("Logging » ");
-if ($vars['section'] == "eventlog")
-{ echo('");
+}
-echo(" | ");
+if (isset($config['enable_syslog']) && $config['enable_syslog'] == 1) {
+ echo(" | ");
-if ($vars['section'] == "syslog")
-{ echo('"); }
+ if ($vars['section'] == "syslog") {
+ echo('");
+ }
+}
switch ($vars['section'])
{