You signed in with another tab or window. Reload to refresh your session.You signed out in an
8000
other tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
(optionally) display container logs for advanced users #82
for deployments where JDC + tProxy containers are deployed, we should funnel logs from both containers into one single UI box, abstracting away the fact that they are two separate containers
according to @gimballock this is called "collated" logs
Also, another approach could be, instead of streaming the stdout of the container, maybe, starting the apps with the flag: --log-file that will write the logs in the docker container filesystem.
And then we stream the file itself and also we could add a button to download the logs, if needed. Which will help in cases we need more context from the user
Activity
plebhash commentedon Apr 8, 2026
one extra detail that's just my opinionated take:
for deployments where JDC + tProxy containers are deployed, we should funnel logs from both containers into one single UI box, abstracting away the fact that they are two separate containers
according to @gimballock this is called "collated" logs
plebhash commentedon Apr 8, 2026
cross referencing: #83 (comment)
the TS code we implement here should also bootstrap some modular infrastructure for log parsing in a more general sense
this way, the UI can display information in a more accurate way for all sorts of edge case scenarios
aside from the absent
node.sockedge case tracked by #83, another edge case is incorrectuser_identitywith Braiinsthis specific edge case is very distinct because it always comes with this log line on tProxy logs:
lucasbalieiro commentedon Apr 8, 2026
referencing an example using dockerode to fetch logs from container: https://github.com/apocas/dockerode/blob/master/examples/logs.js
Also, another approach could be, instead of streaming the
stdoutof the container, maybe, starting the apps with the flag:--log-filethat will write the logs in the docker container filesystem.And then we stream the file itself and also we could add a button to download the logs, if needed. Which will help in cases we need more context from the user