caliper
caliper copied to clipboard
Unable to change console log levels from the command line
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