Function: set_dump
|
C Prototype |
aclError aclmdlSetDump(const char *dumpCfgPath) |
|---|---|
|
Python Function |
ret = acl.mdl.set_dump(dump_cfg_path) |
|
Function Usage |
Sets dump configuration. |
|
Input Description |
dump_cfg_path: string, path of the configuration file, including the file name. Currently, the following dump information can be configured:
|
|
Return Value |
ret: int, error code.
|
|
Restrictions |
|
|
API |
pyACL also provides the acl.init API. During pyACL initialization, the dump configuration is passed as a JSON configuration file to dump the app data at run time. In this mode, the acl.init API can be invoked only once in a process. To modify the dump configuration, you need to modify the configuration in the JSON file. |
