diff options
| author | Xavier Morel <xmo@odoo.com> | 2019-12-02 12:38:49 +0000 |
|---|---|---|
| committer | Xavier Morel <xmo@odoo.com> | 2019-12-02 12:38:49 +0000 |
| commit | 56e47c51ed25d19f8cf9fb12d8d7fee0f624afaa (patch) | |
| tree | 7ebad22b6801db851127cc14f399092286b436b2 /addons/mail/static/src/js/models/threads/document_thread.js | |
| parent | f662855701378f534711c4eb5fe3dec0863eda97 (diff) | |
[REV] core: logger configuration part of 6044782aeffc61955b956068b0a4d58fa33303f0
Configuring the non-root logger based on --log-level had the
side-effect (unclear whether it was intended or not as none of the
relevant commits really documented the idea) that log-level could
override log handlers being set on the root logger e.g. if
`log_handler = :INFO` is set in the config file, `--log-level=warn` on
the CLI will override it.
This could be replicated by swapping `pseudo_config` and `logconfig`,
*however* it would also make the sub-loggers override
differently (currently on an exact logger match log-handler overrides
log-level).
The ideal fix would likely be to sequence log-level from the
configuration file, log-handler from the configuration file, log-level
from the CLI and log-handler from the CLI. However that doesn't really
work with the current structure.
closes odoo/odoo#41180
Signed-off-by: Xavier Morel (xmo) <xmo@odoo.com>
Diffstat (limited to 'addons/mail/static/src/js/models/threads/document_thread.js')
0 files changed, 0 insertions, 0 deletions
