Skip to content
Domekologe edited this page Jun 30, 2026 · 1 revision

Logs

🌐 English · Deutsch

The Logs page (/logs, bot owner only) shows the bot's recent log output directly in the dashboard — no SSH needed to glance at what happened.

How it works

While the pdc_webdashboard cog is loaded it attaches an in-memory ring buffer handler to the root logger (the last ~500 records, no disk writes). The page reads them through the gateway method logs.list. The buffer is cleared when the cog is unloaded/reloaded.

Using it

  • Level filterAll levels / INFO / WARNING / ERROR (filtered server-side).
  • Search — filters the visible lines by message/logger text.
  • Refresh — re-pulls the latest records.
  • Tracebacks — records that carry an exception show a ▸ Traceback toggle to expand the full stack trace.

Each line shows the timestamp, a colour-coded level badge, the logger name and the message.

Related dashboard improvements

  • Live updates — the overview/landing page receives live server/user counts, uptime and online status via Server-Sent Events (/api/events), pushed only when something changes. If you run a reverse proxy, make sure it does not buffer text/event-stream (nginx: proxy_buffering off; for /api/events).
  • Confirmation dialogs — destructive actions (cog uninstall, repo remove) now ask for confirmation first (Esc cancels, Enter confirms).

Clone this wiki locally