Open topic with navigation

# get_log

The `get_log` method reads a configuration file and returns a LuaLog object that provides the capability to use the specified log stream.

## Syntax

    get_log( config, logstream )

## Arguments

Argument | Description
--- | ---
`config` | (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.
`logstream` | (string) The name of the section in the configuration file that contains the settings for the log stream.

## Returns

(LuaLog). A LuaLog object that provides the capability to use the log stream.

## Example

    local config = get_config("connector.cfg")
    local log = get_log(config, "SynchronizeLogStream")

© 2016 Hewlett Packard Enterprise Development LP | Send documentation feedback to HPE Close We welcome your comments! To open the configured email client on this computer, open an email window. Otherwise, copy the information below to a web mail client, and send this email to AutonomyTPFeedback@hpe.com. Product: Topic Title: Help Topic: Feedback:

_HP_HTML5_bannerTitle.htm