Enable log rotation

Can be enabled with the SEAFILE_LOG_ROTATE option.