';
echo '
';
echo 'Logging  » ';
if ($vars['section'] == 'eventlog') {
    echo '';
}
if (\LibreNMS\Config::get('enable_syslog') == 1) {
    echo ' | ';
    if ($vars['section'] == 'syslog') {
        echo '';
    }
}
if (\LibreNMS\Config::get('graylog.port')) {
    echo ' | ';
    if ($vars['section'] == 'graylog') {
        echo '';
    }
}
echo '
';
echo '
';
switch ($vars['section']) {
    case 'syslog':
        $vars['fromdevice'] = true;
        include 'includes/html/pages/syslog.inc.php';
        break;
    case 'eventlog':
        $vars['fromdevice'] = true;
        include 'includes/html/pages/eventlog.inc.php';
        break;
    case 'graylog':
        include 'includes/html/pages/device/logs/'.$vars['section'].'.inc.php';
        break;
    default:
        echo '
';
        echo report_this('Unknown section '.$vars['section']);
        break;
}
echo '