You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm grouping a few things in one issue rather than submitting separate ones for each. Probably if one person is going to fix one of these, they'll look at all of them.
log_set_flag RPC doesn't return an error if an invalid flag name is passed
save_config RPC does not emit log_set_flag RPCs for the currently set flags
I think it would also be nice if we could pass a comma separated list of log flags to enable - not just for the RPC but also on the command line. We already do something similar for tracing groups on the command line (i.e. -e bdev,nvmf_tcp). This would avoid 100+ log_set_flag calls in the JSON-RPC conf file if user passed -L all on the command line. I guess in that case log library could detect that all flags were set and emit log_set_flag all to the RPC conf, but I still think a comma separated list would be a nice-to-have.
Obviously log_clear_flag RPC needs to be fixed too.
The text was updated successfully, but these errors were encountered:
Ad.6
OPEN: since only enabled flags are saved to config.json file during save_config operation, should all flags be cleared first? $ scripts/rpc.py load_config < config.json
I'm grouping a few things in one issue rather than submitting separate ones for each. Probably if one person is going to fix one of these, they'll look at all of them.
I think it would also be nice if we could pass a comma separated list of log flags to enable - not just for the RPC but also on the command line. We already do something similar for tracing groups on the command line (i.e.
-e bdev,nvmf_tcp
). This would avoid 100+ log_set_flag calls in the JSON-RPC conf file if user passed-L all
on the command line. I guess in that case log library could detect that all flags were set and emitlog_set_flag all
to the RPC conf, but I still think a comma separated list would be a nice-to-have.Obviously log_clear_flag RPC needs to be fixed too.
The text was updated successfully, but these errors were encountered: