Added option to disable automatic log rotation