Log managemenet: rotate and backup

Hi,

I would like to have an option from configuration to set the log rotate feature so that each day a different log file is created.
Also I would like the option to automatically save the log before a graceful reboot.

I use docker image so I cannot use command line parameters.

Thank you,

Simone