Fixes tail command with read limit

Fixes #43
This commit is contained in:
Christian Stein 2020-02-13 10:12:57 +01:00
parent 5799fe6988
commit 401ac2ed53
2 changed files with 2 additions and 2 deletions

View file

@ -6,5 +6,5 @@ function Read-IcingaAgentDebugLogFile()
return; return;
} }
Get-Content -Path $Logfile -Wait; Get-Content -Path $Logfile -Tail 20 -Wait;
} }

View file

@ -6,5 +6,5 @@ function Read-IcingaAgentLogFile()
return; return;
} }
Get-Content -Path $Logfile -Wait; Get-Content -Path $Logfile -Tail 20 -Wait;
} }