mirror of
https://github.com/vladmandic/automatic
synced 2026-09-18 16:54:33 +02:00
update reference data and enable preview for ernie and nucleus
Signed-off-by: Vladimir Mandic <mandic00@live.com>
This commit is contained in:
@@ -31,7 +31,8 @@ async function logMonitor() {
|
||||
if (l.level === 'WARNING') logWarnings++;
|
||||
if (l.level === 'ERROR') logErrors++;
|
||||
const module = `<td style="color: var(--neutral-400)">${l.module}</td>`;
|
||||
const facility = l.facility !== 'sd' ? `<td>${l.facility}</td>` : '<td></td>';
|
||||
const facilityText = l.facility.length > 20 ? `${l.facility.substring(0, 20)}...` : l.facility;
|
||||
const facility = l.facility !== 'sd' ? `<td>${facilityText}</td>` : '<td></td>';
|
||||
row.innerHTML = `<td>${dateToStr(l.created)}</td>${level}${facility}${module}<td>${htmlEscape(l.msg)}</td>`;
|
||||
logMonitorEl.appendChild(row);
|
||||
} catch (e) {
|
||||
|
||||
Reference in New Issue
Block a user