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

$websocket_log level is not configurable #13259

Closed
jrafanie opened this issue Dec 19, 2016 · 0 comments
Closed

$websocket_log level is not configurable #13259

jrafanie opened this issue Dec 19, 2016 · 0 comments

Comments

@jrafanie
Copy link
Member

The default log level for the websocket_log is info and the messages mirrored to the evm.log are ERROR. We don't expose a way to configure the log level for this logger.

irb(main):001:0> $websocket_log.level
=> 1
irb(main):002:0> $websocket_log.mirror_level
=> 3

We should expose the log level for this logger, similar to how we do for many other mirrored loggers:

apply_config_value(config, $vim_log, :level_vim, :level_vim_in_evm)
apply_config_value(config, $rhevm_log, :level_rhevm, :level_rhevm_in_evm)
apply_config_value(config, $aws_log, :level_aws, :level_aws_in_evm)
apply_config_value(config, $kube_log, :level_kube, :level_kube_in_evm)
apply_config_value(config, $mw_log, :level_mw, :level_mw_in_evm)
apply_config_value(config, $scvmm_log, :level_scvmm, :level_scvmm_in_evm)
apply_config_value(config, $api_log, :level_api, :level_api_in_evm)
apply_config_value(config, $fog_log, :level_fog, :level_fog_in_evm)
apply_config_value(config, $azure_log, :level_azure, :level_azure_in_evm)
apply_config_value(config, $lenovo_log, :level_lenovo, :level_lenovo_in_evm)

cc @skateman

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant