Skip to content
Snippets Groups Projects
Commit 7dd9cbb7 authored by Niko Ehrenfeuchter's avatar Niko Ehrenfeuchter :keyboard:
Browse files

Show more of the log to roughly cover e.g. a service startup

parent f127dfa1
Branches
Tags
No related merge requests found
......@@ -14,7 +14,7 @@ $LogFile = "$($ServiceDir)\var\$($env:COMPUTERNAME).$($ServiceName).log"
if (Test-Path $LogFile) {
Write-Host "Watching logfile '$LogFile':"
Get-Content -Tail 20 -Wait $LogFile
Get-Content -Tail 200 -Wait $LogFile
} else {
Write-Host "Logfile '$LogFile' doesn't exist."
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment