prg_log_max_file_rows_set()

Abstract

Sets the maximum number of rows allowed per data file.

Syntax

prg_log_max_file_rows_set (log_store_hndl, max_file_rows)
Argument Type Description
log_store_hndl PrgT_Log_Store_Handle Log store of interest.
max_file_rows int Maximum number of rows per data file.

Return Type

PrgT_Compcode

PrgC_Compcode_Success if set successfully; PrgC_Compcode_Failure otherwise.

prg_log.h

Details

This functions sets the maximum number of rows that the log will store in each data (.ot) file. By default, a data file will contain a maximum of 1000 rows.

If the current data file exceeds the limit being set by this function, that file will be closed and a new one opened.

本站文档由 北京智网畅联科技有限公司 整理、翻译并提供 · Documentation compiled and provided by Beijing ZNetLink Technology Co., Ltd.

交流群 · QQ Group:OPNET/智网妙算网络仿真交流群(群号 486383494)

原文档 © 2017 Riverbed Technology · 本站为公益翻译,由 AI 辅助完成,请仔细甄别

Original documentation © 2017 Riverbed Technology. Community translation, AI-assisted. Contact: jiazequn@znetlink.com