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