network_bandwidth_test log option doesn't write log unless --log-level=debug is also specified
Bug #1036782 reported by
Jeff Lane
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Checkbox Provider - Base |
Fix Released
|
Low
|
Unassigned |
Bug Description
When running network_
--log sets a log file to output results to
--log-level sets the logging level
however, when using --log, logging info, including INFO level messages are ONLY written to the specified log file when --log-level is also set to debug.
So this should be changed to where --log implies DEBUG level output, or fixed so that the appropriate messages are actually written to the log file when the script runs.
affects: | checkbox → plainbox-provider-checkbox |
Changed in plainbox-provider-checkbox: | |
status: | Triaged → Fix Released |
To post a comment you must log in.
Steps to reproduce:
- From the checkbox trunk run: network_ bandwidth_ test --log=/ tmp/something
sudo PYTHONPATH=. scripts/
Expected result: Something in the logfile
Actual result: Nothing in the logfile
Setting to Triaged, work to do: make it so that, if --log is specified, log-level defaults to something useful.e