diff options
| author | Xavier Morel <xmo@odoo.com> | 2014-12-11 09:18:05 +0100 |
|---|---|---|
| committer | Xavier Morel <xmo@odoo.com> | 2015-01-27 13:58:12 +0100 |
| commit | 426bcf427c1a35184281a2c28b0aa2a490cc9b5a (patch) | |
| tree | 64e26d6862f5005d30ff848637a6996dd4d2cb04 /doc/setup | |
| parent | e9f0d79f85c658a986586a46c7237a6c9d988509 (diff) | |
[FIX] incorrect serialisation of log_handler
Saving log_handler to the config file is not currently special-cased,
the value is thus dumped as the repr() of the list, but not deserialized
with literal_eval. This means -s breaks log_handler and the
configuration file example is incorrect (it looks like a list).
Repeated -s further break the log_handler by interpreting the original
value as a string, putting it into a list, then reserialising that with
repr(), injecting a bunch of escaping backslash. The config file is soon
filled with backslashes and doubles in size with each new -s.
Furthermore for some reason the whole thing breaks --log-handler (and
aliases) entirely, once the wrong log_handler has been saved none of
them works anymore.
Fixes #4552
Closes #4157
Diffstat (limited to 'doc/setup')
0 files changed, 0 insertions, 0 deletions
