Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ param (
[switch]$PowerShellLogs,
[switch]$QueueInformation,
[switch]$ReceiveConnectors,
[switch]$RESTLogs,
[switch]$RPCLogs,
[switch]$SearchLogs,
[switch]$SendConnectors,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ function Get-ArgumentList {
PopLogs = $PopLogs
PowerShellLogs = $PowerShellLogs
QueueInformation = $QueueInformation
RESTLogs = $RESTLogs
RootFilePath = $Script:RootFilePath
RPCLogs = $RPCLogs
SearchLogs = $SearchLogs
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ function Test-NoSwitchesProvided {
$ImapLogs -or
$OABLogs -or
$PowerShellLogs -or
$RESTLogs -or
$WindowsSecurityLogs -or
$MailboxAssistantsLogs -or
$ExchangeServerInformation -or
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ function Test-PossibleCommonScenarios {
$Script:ExPerfWiz = $true
$Script:OABLogs = $true
$Script:PowerShellLogs = $true
$Script:RESTLogs = $true
$Script:WindowsSecurityLogs = $true
$Script:CollectFailoverMetrics = $true
$Script:TransportConnectivityLogs = $true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,17 @@ function Invoke-RemoteMain {
Add-LogCopyFullTaskAction "$Script:localExInstall`Logging\CmdletInfra" "CmdletInfra_Logs"
}

if ($PassedInfo.RESTLogs) {

if ($Script:localServerObject.Mailbox) {
Add-DefaultLogCopyTaskAction "$Script:localExInstall`Logging\Rest" "REST_BE_Logs"
}

if ($Script:localServerObject.CAS) {
Add-DefaultLogCopyTaskAction "$Script:localExInstall`Logging\HttpProxy\Rest" "REST_Proxy_Logs"
}
}

if ($Script:localServerObject.DAGMember -and
$PassedInfo.DAGInformation) {
Add-TaskAction "Save-FailoverClusterInformation"
Expand Down
1 change: 1 addition & 0 deletions docs/Diagnostics/ExchangeLogCollector.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ PopLogs | Enable to collect POP logging. Location: `(Get-PopSettings -Server $se
PowerShellLogs | Enable to collect the PowerShell Logs. Location: `V15\Logging\HttpProxy\PowerShell`
QueueInformation | Enable to collect the historical queue information. Location: `(Get-TransportService $server).QueueLogPath`
ReceiveConnectors | Enable to collect the Receive Connector information from the server.
RESTLogs | Enable to collect REST API Logs. Location: `V15\Logging\Rest` and `V15\Logging\HttpProxy\Rest`
RPCLogs | Enable to collect RPC Logs. Location: `V15\Logging\RPC Client Access`, `V15\Logging\HttpProxy\RpcHttp`, and `V15\Logging\RpcHttp`
SearchLogs | Enable to collect Search Logs. Location: `V15\Bin\Search\Ceres\Diagnostics\Logs`, `V15\Bin\Search\Ceres\Diagnostics\ETLTraces`, `V15\Logging\Search`. On 2019 only we also include `V15\Logging\BigFunnelMetricsCollectionAssistant`, `V15\Logging\BigFunnelQueryParityAssistant`, and `V15\Logging\BigFunnelRetryFeederTimeBasedAssistant`
SendConnectors | Enable to collect the send connector information from the environment.
Expand Down