Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to change console log levels from the command line #1249

Open
davidkel opened this issue Mar 3, 2022 · 0 comments
Open

Unable to change console log levels from the command line #1249

davidkel opened this issue Mar 3, 2022 · 0 comments
Labels
bug Something isn't working component/core Related to the core code-base

Comments

@davidkel
Copy link
Contributor

davidkel commented Mar 3, 2022

Which Caliper version are you using?

0.4.2

Which Node.JS version are you using?

14

Which operating system are you using?

WSL2

Please provide some context for your error. For example, when did the error occur? What were you trying to achieve, and how?

In an attempt to get debug log output I tried the following command (admittedly caliper was running in a docker image but I would still expect the ability to change logging levels)

launch manager --caliper-networkconfig ./networks/test-network.yaml --caliper-benchconfig ./benchmarks/config.yaml --caliper-bind-sut fabric:2.2 --caliper-flow-only-test --caliper-fabric-gateway-enabled --caliper-logging-targets-console-options-level debug

What was the observed incorrect behavior?

logging level didn't change, I would have expected it to work. I had to override the default caliper configuration using a caliper.yaml file with

caliper:
  logging:
    targets:
      console:
        options:
          level: debug

Please provide the error logs and their surroundings.

n/a

Please provide your benchmark configuration file content, if possible.

No response

Please provide your network configuration file content, if possible.

No response

Please provide your workload module content, if possible.

No response

Please provide any additional information you deem relevant to the error.

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working component/core Related to the core code-base
Projects
None yet
Development

No branches or pull requests

1 participant