- Server operating system version
- CentOS Linux release 7.9.2009
- Plesk version and microupdate number
- Plesk Obsidian 18.0.50.2
Hi Pleskians,
I was wondering if there was any option to enable the logroation by size on each domains via CLI?
The GUI method (Domains > example.com > Websites & Domains > Logs > Manage Log Files > Log Rotation) is painstakingly very time consuming, if you thing about 100+ domains.
The server settings option (Tools & Settings > Server Settings > Force daily log rotation for all domains and specify how long logs will be kept) is only basis the number of days the file should be kept but does not have the option to rotate basis the size.
Can you suggest if there are any ways? If so that would be very helpful.
I was wondering if there was any option to enable the logroation by size on each domains via CLI?
The GUI method (Domains > example.com > Websites & Domains > Logs > Manage Log Files > Log Rotation) is painstakingly very time consuming, if you thing about 100+ domains.
The server settings option (Tools & Settings > Server Settings > Force daily log rotation for all domains and specify how long logs will be kept) is only basis the number of days the file should be kept but does not have the option to rotate basis the size.
Can you suggest if there are any ways? If so that would be very helpful.