< Back
Get-P1Log
Post
NAME Get-P1Log
SYNOPSIS
Get the logs for a tenant
SYNTAX
Get-P1Log [[-Tenant] <String>] [[-LogType] <String>] [[-LogName] <String>] [-Wait] [<CommonParameters>]
DESCRIPTION
Return the list of logs of their content.
PARAMETERS
-Tenant <String>
The tenant name.
Required? false
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
-LogType <String>
logService, logManager or logWeb
Required? false
Position? 2
Default value
Accept pipeline input? false
Accept wildcard characters? false
-LogName <String>
The log name to display
Required? false
Position? 3
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Wait [<SwitchParameter>]
Wait modification on log to display
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
-------------------------- EXAMPLE 1 --------------------------
PS C:\\># Get the list of logs
Get-P1Log -Tenant Prod
-------------------------- EXAMPLE 2 --------------------------
PS C:\\># Get a log for logService and follow it
Get-P1Log -Tenant Prod -LogType logService -LogName PlannerOneApplication.log -Wait
RELATED LINKS
SYNOPSIS
Get the logs for a tenant
SYNTAX
Get-P1Log [[-Tenant] <String>] [[-LogType] <String>] [[-LogName] <String>] [-Wait] [<CommonParameters>]
DESCRIPTION
Return the list of logs of their content.
PARAMETERS
-Tenant <String>
The tenant name.
Required? false
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
-LogType <String>
logService, logManager or logWeb
Required? false
Position? 2
Default value
Accept pipeline input? false
Accept wildcard characters? false
-LogName <String>
The log name to display
Required? false
Position? 3
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Wait [<SwitchParameter>]
Wait modification on log to display
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
-------------------------- EXAMPLE 1 --------------------------
PS C:\\># Get the list of logs
Get-P1Log -Tenant Prod
-------------------------- EXAMPLE 2 --------------------------
PS C:\\># Get a log for logService and follow it
Get-P1Log -Tenant Prod -LogType logService -LogName PlannerOneApplication.log -Wait
RELATED LINKS