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
log.cfg{modules = ...}
isn't equivalent to box.cfg{log_modules = ...}
#7962
Comments
Please, glance on #8610 as well. |
I think that we should make Rationale:
|
The current behavior of |
log.cfg{modules = ...}
isn't equivalent to box.cfg{log_modules = ...}
Configuring log modules work differently with log.cfg and box.cfg: box.cfg{log_modules=...} overwrites the current config completely while log.cfg{modules=...} overwrites the currently config only for the specified modules. Let's fix this inconsistency by making log.cfg behave exactly as box.cfg. Closes tarantool#7962 NO_DOC=bug fix
Configuring log modules work differently with log.cfg and box.cfg: box.cfg{log_modules=...} overwrites the current config completely while log.cfg{modules=...} overwrites the currently config only for the specified modules. Let's fix this inconsistency by making log.cfg behave exactly as box.cfg. Closes tarantool#7962 NO_DOC=bug fix
Configuring log modules work differently with log.cfg and box.cfg: box.cfg{log_modules=...} overwrites the current config completely while log.cfg{modules=...} overwrites the currently config only for the specified modules. Let's fix this inconsistency by making log.cfg behave exactly as box.cfg. Closes tarantool#7962 NO_DOC=bug fix
Configuring log modules work differently with log.cfg and box.cfg: box.cfg{log_modules=...} overwrites the current config completely while log.cfg{modules=...} overwrites the currently config only for the specified modules. Let's fix this inconsistency by making log.cfg behave exactly as box.cfg. Closes #7962 NO_DOC=bug fix
Configuring log modules work differently with log.cfg and box.cfg: box.cfg{log_modules=...} overwrites the current config completely while log.cfg{modules=...} overwrites the currently config only for the specified modules. Let's fix this inconsistency by making log.cfg behave exactly as box.cfg. Closes #7962 NO_DOC=bug fix (cherry picked from commit c13e59a)
#7672 allows to specify a log level for each module individually, however there is some inconsistency:
box.cfg{log_level_modules={...}}
overrides the existing list of modules inlog.cfg
, whilelog.cfg{level_modules={...}}
appends the specified modules to the existing list.Also it's not possible to remove a single module from the config by setting it to
box.NULL
.gh_3211_per_module_log_level_test.lua
contains the corresponding test-cases underTODO
.@nshy:
The fix of this issue requires thorough changes in merge_cfg(), etc.
The text was updated successfully, but these errors were encountered: