summaryrefslogtreecommitdiff
path: root/website/src
diff options
context:
space:
mode:
authorSho Sakuma <me@m1sk9.dev>2026-08-30 20:43:45 +0900
committerSho Sakuma <me@m1sk9.dev>2026-08-30 20:43:45 +0900
commit3aecb1374913d585c789c0c0f27295aa6be43fc4 (patch)
treef2bd91128f582ab21030d3b3673def54f976f5e3 /website/src
parent85fad9cf81c45b16dc9d0c3310bdbf0eea694723 (diff)
downloadLunaticChat-3aecb1374913d585c789c0c0f27295aa6be43fc4.tar.gz
LunaticChat-3aecb1374913d585c789c0c0f27295aa6be43fc4.tar.bz2
LunaticChat-3aecb1374913d585c789c0c0f27295aa6be43fc4.zip
feat(velocity): let the proxy be debugged without a config file
The proxy had three slf4j debug calls and no way to turn them on, so the handshake internals were either missing or mixed into INFO for every backend. The switch is read from the `lunaticchat.debug` system property, falling back to the `LUNATICCHAT_DEBUG` environment variable, rather than from a new config file: a file means a parser and a parser means a dependency, and platform-velocity deliberately ships without so much as Ktor. The property wins so a proxy started from a compose file can still be overridden for one run without editing it. Paper's `debug` is deliberately not carried over the handshake. The proxy is shared by every backend, so one Paper server's setting must not decide how much the proxy logs for everyone else. The compatibility check now reports both halves of the rule with their measured values. "Protocol version incompatible" left the operator comparing two version strings against a rule they could not see, and which half failed is the whole answer when a rolling upgrade stops relaying. For the same reason the relay names the servers it skipped and why: from the receiving server's log, "the message never arrived" and "the message was never sent" look identical. The lines that were unconditionally at INFO drop to their category, leaving only the failure an operator has to act on. Refs #228 Co-Authored-By: Claude <noreply@anthropic.com>
Diffstat (limited to 'website/src')
0 files changed, 0 insertions, 0 deletions