summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorThibaud Ducasse <11507599+tducasse@users.noreply.github.com>2018-07-26 10:20:04 +0200
committerxmo-odoo <xmo@odoo.com>2018-07-26 10:20:04 +0200
commit8198fb64739a4585adea07ea1675b37512c5e527 (patch)
tree902f9ba16b3e7260fe8bfe48b33f0f9b8b1ba627 /doc
parent5e58ac16c3cae2d5c45e7c9f746ed810b835a65d (diff)
[IMP] doc: add logrotate warning in cmdline doc
Fixes #24542
Diffstat (limited to 'doc')
-rw-r--r--doc/reference/cmdline.rst7
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/reference/cmdline.rst b/doc/reference/cmdline.rst
index 058eac51ddd..575e93af327 100644
--- a/doc/reference/cmdline.rst
+++ b/doc/reference/cmdline.rst
@@ -305,6 +305,13 @@ customize the amount of logging output
enables `log rotation <https://docs.python.org/2/library/logging.handlers.html#timedrotatingfilehandler>`_
daily, keeping 30 backups. Log rotation frequency and number of backups is
not configurable.
+
+ .. danger::
+
+ Built-in log rotation is not reliable in multi-workers scenarios
+ and may incur significant data loss. It is *strongly recommended* to
+ use an external log rotation utility or use system loggers (--syslog)
+ instead.
.. option:: --syslog