Repository navigation
Show every log the container produces in one window - #66
Merged
Merged
Conversation
The dashboard split logs over three tabs, and the X server, audio, start-up and nginx errors were in none of them. The new connecthub-init entry point sends all container output through s6-log into a rotated file (passing every line on, so docker logs is unchanged) and then runs /init. The session's client and nginx's error log now write to that output too, and the dashboard shows the file in one window with a text filter. That replaces the separate Selkies log pipe (svc-selkies-log); the CLIPBOARD_DEBUG switch for Selkies' debug log moves to the entry point. Fixes #65 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Owner
Author
|
Container test of
|
This was referenced Oct 10, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #65
What changed
connecthub-init(new entry point): sends the container's entire output — every s6 service, the web server, start-up — throughs6-loginto/var/log/connecthub/all(rotated, 5 × 4 MB, timestamped), thenexecs/init, which stays PID 1.s6-log's1action passes each line on first, sodocker logsis unchanged. If the log folder can't be written it just runs/init.S6_LOGGING=1) was tried first in a test container on the current image: it doesn't start on this base, hence the wrapper.[RDP]/[VNC]/[SSH](it used to go only to an in-memory session buffer). nginx's error log goes to stderr.GET /api/logs.svc-selkies-log, its producer link and run-script prelude) — redundant now.CLIPBOARD_DEBUG→SELKIES_DEBUGmoves intoconnecthub-init.Testing
pytest: 252 passed, 8 skipped. Client output is tagged and printed; RDP errors in it are still reported; the polling filter covers/api/logs.[RDP], server, xsettingsd, nginx): one window, no tabs; filtering onrdpshows only matching lines; classes as expected.🤖 Generated with Claude Code