Skip to content

Log output is always json #14

@ecordell

Description

@ecordell

Regardless of context or flags, the log output seems to always use json - it used to print nicely on the console, so I'm guessing there was some regression here.

Example:

$ thumper run ./scripts/scale-test.yaml --token=<redacted> --endpoint=localhost:50051 --no-verify-ca --log-format=console --log-level=debug --qps=10
{"severity":"info","qps":10,"permission-system":"thumper","time":"2025-02-04T09:43:39-05:00","message":"starting run command"}
{"severity":"info","name":"scale test","time":"2025-02-04T09:43:39-05:00","message":"loaded script"}
{"severity":"info","name":"scale test","time":"2025-02-04T09:43:39-05:00","message":"loaded script"}
{"severity":"info","name":"scale test","time":"2025-02-04T09:43:39-05:00","message":"loaded script"}
{"severity":"info","name":"scale test","time":"2025-02-04T09:43:39-05:00","message":"loaded script"}
{"severity":"info","name":"scale test","time":"2025-02-04T09:43:39-05:00","message":"loaded script"}
{"severity":"info","name":"scale test","time":"2025-02-04T09:43:39-05:00","message":"loaded script"}
{"severity":"info","name":"scale test","time":"2025-02-04T09:43:39-05:00","message":"loaded script"}
{"severity":"info","name":"scale test","time":"2025-02-04T09:43:39-05:00","message":"loaded script"}
{"severity":"info","name":"scale test","time":"2025-02-04T09:43:39-05:00","message":"loaded script"}
{"severity":"info","name":"scale test","time":"2025-02-04T09:43:39-05:00","message":"loaded script"}
{"severity":"info","probability":0.16666667,"op":"WriteRelationships","time":"2025-02-04T09:43:39-05:00","message":"op probability"}
{"severity":"info","probability":0.8333334,"op":"CheckPermission","time":"2025-02-04T09:43:39-05:00","message":"op probability"}

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