Settings > Sources: turn syslog reception on/off, choose UDP/TCP

- SyslogServer opens and closes the UDP/TCP listeners at runtime from the
  configuration saved in /data/syslog.json; a busy port no longer stops
  Logstream, the error is shown in Settings instead.
- Sources tab: syslog section with an on/off switch, UDP and TCP labels,
  the live listening state and the published port (SYSLOG_PORT, passed as
  SYSLOG_PUBLIC_PORT for display; the mapping stays in docker-compose).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
cedricandClaude Opus 5.5 committed 2026-09-28 17:37:08 +02:00
1 parent 7beb791e44
commit 32593b9515
9 files changed
+278 -28

No files matched your search

+18
View File
@@ -178,6 +178,24 @@
<!-- Sources -->
<div class="set-panel" role="tabpanel" data-panel="sources" hidden>
<section class="set-section">
<h3>Syslog</h3>
<p id="syslogStatus" class="docker-status"></p>
<label class="switch-row">
<input id="syslogEnabled" type="checkbox" class="switch">
<span data-i18n="syslogEnabled">Receive syslog messages</span>
</label>
<div class="sl-grid">
<span class="lbl" data-i18n="syslogProtocols">Protocols</span>
<div id="syslogProtos" class="chip-field sl-protos">
<button type="button" class="chip" data-proto="udp" style="--h:205">UDP</button>
<button type="button" class="chip" data-proto="tcp" style="--h:265">TCP</button>
</div>
<span class="lbl" data-i18n="syslogPort">Port</span>
<div class="sl-port"><code id="syslogPortVal">514</code><span id="syslogPortHelp" class="muted small"></span></div>
</div>
</section>
<section class="set-section">
<h3 data-i18n="dockerTitle">Docker containers</h3>
<p id="dockerStatus" class="docker-status"></p>