';
    // Stop shortening hostname. Issue #61
    // $entry['hostname'] = shorthost($entry['hostname'], 20);
    if ($vars['page'] != 'device') {
        $syslog_output .= '
'.$entry['date'].' | 
                        '.generate_device_link($entry).' | 
                        '.$entry['program'].' :  '.htmlspecialchars($entry['msg']).' | ';
    } else {
        $syslog_output .= ''.$entry['date'].'   '.$entry['program'].'   '.htmlspecialchars($entry['msg']).' | ';
    }
    $syslog_output .= '';
}