Is it possible to use linux logrotate to manage Yugabyte logs?

How to rotate Yugabyte logfiles? E.g. yb-tserver.INFO is link to file having name based on time like yb-tserver.tiira.jk.log.INFO.20200130-201058.12355. Can logrotate manage these types of lognames and possibly recreate the link?

If it is possible to use logrotate then what would be an example configuration for having max 5 compressed history files and rotate when log size is 10MB?

Thank you for your support!

Hi @jk-1

Sorry for the late reply. Currently we have an open issue regarding this: https://github.com/yugabyte/yugabyte-db/issues/3604

Can you also try https://github.com/realzeitmedia/glogrotate in the meantime ?