<%include file="/pageheader.html"/>
<%!
from kaithem.src import logviewer
%>

<title>System Logs</title>
<h2>System Logs</h2>
<section class="window paper">
<p class="menubar"><a href="/syslog/archive" class="button">Archives</a> | <a href="/syslog/flushlogs" class="button">Flush Logs to File</a>
<details class="help"><summary><i class="mdi mdi-help-circle-outline"></i></summary>This shows the realtime output of the logger named "system" and any child loggers of it.
these logs are kept in ram and wil be dumped to a file based on the settings in the configuration file.</br>
This new system of logging replaces the old json messagebus based logs. You can still log mesagebus topics, but they
just go to the system.msgbus logger.</br></details>


</p>
${logviewer.syslogwidget.render(style="max-height:30em; padding:8px;")}
</section>
<%include file="/pagefooter.html"/>
