리눅스에서 tail 명령어를 사용해서 실시간으로 찍히는 로그를 모니터링 할 수 있다. 윈도우에서도 비슷한 기능을 powershell을 이용하면 할 수 있다.
1. powershell 실행
파일이 있는 경로에서 powershell을 실행한다.

2. 파일 실시간 보기
Get-Content 명령어와 -Wait 옵션을 사용한다.
PS C:\logs> Get-Content .\2024-03-26.log -Wait
이제 실시간으로 업데이트되는 로그를 확인할 수 있다.

다만 이렇게 하면 맨 위에서부터 모든 라인을 다 읽기 때문에 용량이 큰 파일이면 사용하기 부담스럽다.
맨 아래 라인만 선택적으로 보려면 -Tail 옵션을 사용한다.
PS C:\logs> Get-Content .\2024-03-26.log -Tail 100 -Wait