It’s also important to call TSTextLogObjectRollingEnabledSet() before
any of the other APIs that modifies the rolling object. This is due to the
fact that this API dictates which rolling mode should be used, and therefore
affects further modifications of the logging object.