8000 (optionally) display container logs for advanced users · Issue #82 · stratum-mining/sv2-ui · GitHub
[go: up one dir, main page]

Skip to content

(optionally) display container logs for advanced users #82

Closed

Description

@plebhash

this was discussed/proposed by someone in the recent past (I can't remember who/when)

the idea is to display container logs on the UI for advanced users

it should be an optional thing (not displayed by default)

Activity

  1. plebhash commented on Apr 8, 2026

    @plebhash
    MemberAuthor

    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

  2. plebhash commented on Apr 8, 2026

    @plebhash
    MemberAuthor

    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.sock edge case tracked by #83, another edge case is incorrect user_identity with Braiins

    this specific edge case is very distinct because it always comes with this log line on tProxy logs:

    2026-04-08T15:01:44.472602Z  WARN translator_sv2::sv2::channel_manager::mining_message_handler: Received: OpenMiningChannelError(request_id: 1, error_code: unknown-user)
    
  3. lucasbalieiro commented on Apr 8, 2026

    @lucasbalieiro
    Collaborator

    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 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

  4. added this to the v0.1.3 milestone on Apr 8, 2026
  5. removed this from the v0.1.3 milestone on Apr 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      0