ดู Logs ไฟล์ บน Windows Server แบบ Real Time ตัวอย่าง Apache Logs
Posted: 18/11/2019 1:45 pm
ดู Logs ไฟล์ บน Windows Server แบบ Real Time
ก่อนอื่นให้เปิด โปรแกรม Windows Powershell ขึ้นมาก่อน (แนะนำให้เปิดในโหมท run as administrator)
เมื่อได้หน้าจอขึ้นมาแล้ว พิมพ์คำสังดังนี้
รูปแบบ
ตัวอย่าง Apache Logs
ผล
ก่อนอื่นให้เปิด โปรแกรม Windows Powershell ขึ้นมาก่อน (แนะนำให้เปิดในโหมท run as administrator)
เมื่อได้หน้าจอขึ้นมาแล้ว พิมพ์คำสังดังนี้
รูปแบบ
Code: Select all
Get-Content myTestLog.log –Wait
Code: Select all
Get-Content D:\xampp\apache\logs\access.log –Wait