Add the Server Log window

Tools > Server Log (Ctrl+Shift+L), offered with b_virtualserver_log_view,
reads the virtual server's log with logview, a hundred lines at a time,
with Show Older going further back. As in TS3, lines can be narrowed by
level, left out by exclude terms, coloured by keyword, and shown in UTC
or local time; the choices are kept in the settings. The find bar, with
its show-only-matches toggle, takes the place of TS3's separate search
and filter fields.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-04 13:19:52 +00:00
co-authored by Claude Opus 5.5
parent fb1de8ac5b
commit 8255d986ac
18 changed files with 1190 additions and 6 deletions
@@ -318,6 +318,16 @@ public final class MainFrame extends JFrame implements ServerTabPane.Listener {
if (selected != null) selected.showComplaints();
}
@Override
public boolean canViewServerLog() {
return selected != null && selected.session().canViewServerLog();
}
@Override
public void onShowServerLog() {
if (selected != null) selected.showServerLog();
}
@Override
public boolean canListPrivilegeKeys() {
return selected != null && selected.session().canListPrivilegeKeys();