Genpact Cora Knowledge Center

Support

PowerShell Function: Enable-CoraSeQuenceRuntimeLogs

V9.6

Method

CoraSeQuence.sites

Description

Enables runtime logs (svclog) on all installed Cora SeQuence apps.

Syntax

Enable-CoraSeQuenceRuntimeLogs -TraceDirectory <String> -ApplicationType <String> [-ApplicationID <Int32>] [-AllInstances] [<CommonParameters>]
Enable-CoraSeQuenceRuntimeLogs -TraceDirectory <String> [<CommonParameters>]

Parameters

-TraceDirectory <String>

Full path to the directory where logs should be stored. If the directory does not exist, it will be created.

Required?false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters?  false


-ApplicationType <String>

Enables logs on specific type of application. If not provided, logs will be enabled on all installed applications.

Required?true
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters?  false


-ApplicationID <Int32>

Sets the numeric ID for specific instance of application type to set. Ignored if AllInstances is used.

Required?false
Position? named
Default value1
Accept pipeline input? false
Accept wildcard characters?  false


-AllInstances [<SwitchParameter>]

Enable logs to all instances of the specified application.

Required?false
Position? named
Default valueFalse
Accept pipeline input? false
Accept wildcard characters?  false


<CommonParameters>

This function supports these common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable, OutBuffer, PipelineVariable, and OutVariable. 

For more information, see about_CommonParameters

Example

PS C:\>Enable-CoraSeQuenceRuntimeLogs -TraceDirectory "C:\CoraSeQuenceLogs"


V9.5

Method

CoraSeQuence.sites

Description

Enables runtime logs (svclog) on all installed Cora SeQuence apps.

Syntax

Enable-CoraSeQuenceRuntimeLogs [[-TraceDirectory] <String>] [<CommonParameters>]

Parameters

-TraceDirectory <String>

Full path to the directory where logs should be stored. If the directory does not exist, it will be created.

Required?                    false
Position?                    1
Default value          
Accept pipeline input?      false
Accept wildcard characters?  false


<CommonParameters>

This function supports these common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable, OutBuffer, PipelineVariable, and OutVariable. 

For more information, see about_CommonParameters

Example

PS C:\>Enable-CoraSeQuenceRuntimeLogs -TraceDirectory "C:\CoraSeQuenceLogs"