I am working on a Java app and i need to see the log file updates in real time rather than refreshing the editor (Notepad ++ or Textpad) each time.
The most powerful tool in windows to see real time log file updates is Powershell.
OS: Windows 7
The following steps will help you to set that up
1. Download Powershell
Use the following helpful links to access and download Powershell
https://technet.microsoft.com/en-us/library/hh847820.aspx
https://technet.microsoft.com/en-us/library/hh847837.aspx#BKMK_InstallingOnWindows7andWindowsServer2008R2
2. Navigate to the folder in which log files are present.
3. Type in the following command
Get -Content -path //log_file_name// -tail 10-wait
Hope this helps :)
The most powerful tool in windows to see real time log file updates is Powershell.
OS: Windows 7
The following steps will help you to set that up
1. Download Powershell
Use the following helpful links to access and download Powershell
https://technet.microsoft.com/en-us/library/hh847820.aspx
https://technet.microsoft.com/en-us/library/hh847837.aspx#BKMK_InstallingOnWindows7andWindowsServer2008R2
2. Navigate to the folder in which log files are present.
3. Type in the following command
Get -Content -path //log_file_name// -tail 10-wait
Hope this helps :)
No comments:
Post a Comment