added log rotate setting.