8000 `cook server` not logging to stdout · Issue #94 · cooklang/cookcli · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
cook server not logging to stdout #94
Closed
@emilioziniades

Description

@emilioziniades

If you run cook server, the program starts but nothing is logged to stdout. When visiting http://127.0.0.1:9080/, I can clearly see the server is running. This is confusing because unless you know that the server is going to run on port 9080, it seems like the program just hangs.

Looking at the code, I see that tracing is the logging library. If I remember correctly, it is necessary to register subscribers to collect the logging info. tracing-subscriber is a common one for logging too stdouot.

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