Hi everyone!
we are using dockerized odoo services. Sometimes, the docker services are scaled to 2, 3 or even 5.
This causes us a problem regarding the logs.
During the service creation, we use the following parameter:
[...] type=bind,source=log_file_on_host,target=log_file_in_container [...]
This causes us a problem because sometimes, multiple processes are trying to write in the same file, which makes it lose some logs.
I read that using logrotate = False and syslog = True in odoo.conf would fix this problem for a "standard" odoo server with multiple workers, but i don't quite know how to implement this in a dockerized server?
Does anyone have any lead on how i could redirect the container syslos to a file on its host?
Thanks a lot!