add option to disable log rotation