Technical メーリングリストのアーカイブ

technical@mail.odoo.com

アバター

Re: Odoo Log - Multi-Worker

by
Stefan Rijnhart
- 2019年02月14日 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

参照