How can I manage the Odoo log file size? The file has grown to nearly 20GB, and I'm using Odoo V13.
Can I delete the log file? If you have experience with long-term log file management, please kindly share your insights.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
How can I manage the Odoo log file size? The file has grown to nearly 20GB, and I'm using Odoo V13.
Can I delete the log file? If you have experience with long-term log file management, please kindly share your insights.
Hello Ivan
Odoo used to have a parameter in configuration called logrotate , when set to True it will store log files based on their dates, and any logs exceeding a specified time interval will be deleted.
In Odoo13 this parameter was removed beacuse
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.
For more details you can refer to this https://github.com/odoo/odoo/commit/92d5a4bce5a3878e10427ec8dfef8c4b21f64f3d
To sum up, you can use a log rotation tool for example "logrotate" to compress logs and delete old logs
I hope this helps
Thanks for your helps. I will try.
if you find my answer helpful please upvote it and mark it as correct answer
Thanks
Stwórz konto dzisiaj, aby cieszyć się ekskluzywnymi funkcjami i wchodzić w interakcje z naszą wspaniałą społecznością!
Zarejestruj sięPowiązane posty | Odpowiedzi | Widoki | Czynność | |
---|---|---|---|---|
|
1
mar 15
|
5827 | ||
|
1
mar 15
|
3808 | ||
|
1
mar 15
|
8635 | ||
|
0
sty 25
|
1087 | ||
|
0
lip 24
|
4680 |