Open topic with navigation
This version of the
get_log function is deprecated in HPE OneDrive Connector 11.4.0 and later.
This version of the function is still available for existing implementations, but it might be incompatible with new functionality. This version of the function might be removed in future.
HPE recommends that you use the function
get_log( log_type ) instead.
get_log function reads a configuration file and returns a LuaLog object that provides the capability to use the specified log stream.
get_log( config, logstream )
||(LuaConfig) A LuaConfig object that represents the configuration file which contains the log stream. You can obtain a LuaConfig object using the function get_config.|
||(string) The name of the section in the configuration file that contains the settings for the log stream.|
(LuaLog). A LuaLog object that provides the capability to use the log stream.
local config = get_config("connector.cfg") local log = get_log(config, "SynchronizeLogStream")