7 return fs.exec_direct('/sbin/logread', [ '-e', '^' ]).catch(function(err) {
8 ui.addNotification(null, E('p', {}, _('Unable to load log data: ' + err.message)));
13 render: function(logdata) {
14 var loglines = logdata.trim().split(/\n/);
17 E('h2', {}, [ _('System Log') ]),
18 E('div', { 'id': 'content_syslog' }, [
21 'style': 'font-size:12px',
22 'readonly': 'readonly',
24 'rows': loglines.length + 1
25 }, [ loglines.join('\n') ])
30 handleSaveApply: null,