# GetLogStream

The `GetLogStream` action returns a specific log stream for the service.

NOTE: This is a service control action that can be sent only by users that belong to an authorization role that allows the `ServiceControl` standard role, or which enables the action explicitly. See Authorization Roles Configuration Parameters.

## Example

    action=GetLogStream&Name=application.log&FromDisk=True&Tail=10

This action displays the first ten entries from the application log stream.

## Required Parameters

The following action parameters are required.

Parameter | Description
--- | ---
Name | The name of the log stream you want to return. To retrieve a list of log stream names, use the GetLogStreamNames service action.

## Optional Parameters

This action accepts the following optional parameters.

Parameter | Description
--- | ---
FromDisk | Specifies whether to read the log stream from disk or memory.
Tail | The number of lines from the log stream to return.

© Copyright 2019 Micro Focus or one of its affiliates | Send documentation feedback Close Send documentation feedback To open the configured email client on this computer, open an email window. Otherwise, copy the information below to a mail client, and then send this email to swpdl.idoldocsfeedback@microfocus.com. We appreciate your feedback! Product: Topic Title: Help Topic: Feedback:

_FT_HTML5_bannerTitle.htm