Merge ULS logs
Commands to generate ULS logs during troubleshooting
Set-SPLogLevel
-TraceSeverity VerboseEx -Identity *Search*:*
New-SPLogFile
$starttime =
get-date
//do the operations
$enddate = get-date
Clear-SPLogLevel
-Identity *Search*:*
Merge-SPLogFile
-Path e:\Crawllog.log -StartTime $starttime -EndTime $enddate
Merge-SPLogFile
-Path e:\zellber1.log -StartTime "04/30/2018 9:00" -EndTime
"04/30/2018 18:00"
Clear-SPLogLevel
Comments
Post a Comment