add support for maximum log size, and max number of log files
add support for maximum log size, and max number of log files

Signed-off-by: wlan0 <ac18d904054a8902a6e74d639b1c2daf583ffe72@gmail.com>

allencloud/cli,cpuguy83/cli,Zebrilee/cli,ashfall/cli,riyazdf/cli,allencloud/cli,docker/cli,ashfall/cli,Zebrilee/cli,e11137/cli,thaJeztah/cli,docker/cli,thaJeztah/cli,dnephin/cli,dnephin/cli,e11137/cli,cpuguy83/cli,redpanda/cli,riyazdf/cli,redpanda/cli