Hallo Freunde der Sonne,
neben den IIS-Logs gibt es natürlich noch die Exchange-Protokollierung die einem das Leben schwer machen kann – deshalb in diesem Artikel eine kurze Zusammenfassung.
Exchange 2013 – Protokoll-Pfade einstellen
Download: MoveEX2013logs
Als Vorlage für diesen Artikel diente das oben hinterlegte Skript welches zwar bei mir nicht funktionierte aber alle Pfade sehr gut zusammenfasst.
Powershell-Komandos pro Rolle zum Anpassen der Protokoll-Pfade
In diesem Beispiel muss der Server noch nachgetragen werden, die Protokoll-Pfade zeigen auf einen Ordner Logs auf Partition E – welches bei uns meist das Laufwerk für die Protokollauslagerung ist.
Info: Kommandos bitte als Einzeiler in der PowerShell ausführen!
TransportService Global
Set-TransportService -Identity <Server> -ConnectivityLogPath "E:\Logs\Hub\Connectivity" -MessageTrackingLogPath "E:\Logs\MessageTracking" -IrmLogPath "E:\Logs\IRMLogs" -ActiveUserStatisticsLogPath "E:\Logs\Hub\ActiveUsersStats" -ServerStatisticsLogPath "E:\Logs\Hub\ServerStats" -ReceiveProtocolLogPath "E:\Logs\Hub\ProtocolLog\SmtpReceive" -RoutingTableLogPath "E:\Logs\Hub\Routing" -SendProtocolLogPath "E:\Logs\Hub\ProtocolLog\SmtpSend" -QueueLogPath "E:\Logs\Hub\QueueViewer" -WlmLogPath "E:\Logs\Hub\WLM" -PipelineTracingPath "E:\Logs\Hub\PipelineTracing" -AgentLogPath "E:\Logs\Hub\AgentLog"
Frontend Transport
Set-FrontendTransportService -Identity <Server> -AgentLogPath "E:\Logs\FrontEnd\AgentLog" -ConnectivityLogPath "E:\Logs\FrontEnd\Connectivity" -ReceiveProtocolLogPath "E:\Logs\FrontEnd\ProtocolLog\SmtpReceive" -SendProtocolLogPath "E:\Logs\FrontEnd\ProtocolLog\SmtpSend"
Mailbox Transport Protokolle
Set-MailboxTransportService -Identity <Server> -ConnectivityLogPath "E:\Logs\Mailbox\Connectivity" -MailboxDeliveryAgentLogPath "E:\Logs\Mailbox\AgentLog\Delivery" -MailboxSubmissionAgentLogPath "E:\Logs\Mailbox\AgentLog\Submission" -ReceiveProtocolLogPath "E:\Logs\Mailbox\ProtocolLog\SmtpReceive" -SendProtocolLogPath "E:\Logs\Mailbox\ProtocolLog\SmtpSend" -PipelineTracingPath "E:\Logs\Mailbox\PipelineTracing"
POP/IMAP Protokollierung
Set-ImapSettings -LogFileLocation "E:\Logs\Imap4" Set-PopSettings -LogFileLocation "E:\Logs\Pop3"
Zusätzliche Protokolle
Set-MailboxServer -Identity <Server> -CalendarRepairLogPath "E:\Logs\Calendar Repair Assistant" -MigrationLogFilePath "E:\Logs\Managed Folder Assistant"