Technical mailing list archives

technical@mail.odoo.com

Avatar

Re: Odoo Log - Multi-Worker

by
Stefan Rijnhart
- 02/14/2019 10:21:11
On 14-02-19 15:36, Arlosyst wrote:
> I know about logrotate, but it doesn't work in a multi-worker
> environment as the log gets lost

You can tell the logrotate utility to `copytruncate` so that the file
handler that the Odoo workers write to stays valid

Regards,
Stefan

-- 
Opener B.V. - Business solutions driven by open source collaboration

Stefan Rijnhart - Consultant/developer

mail: stefan@opener.am
tel: +31 (0) 20 3090 139
web: https://opener.am

Reference