This is for anyone who is on a customer's environment (or your own) and wants to view the logs as they are updating (such as after services are restarting). Instead of opening / closing / opening the text file over and over again and if the client does not have Note++ on their server.
Open up a PowerShell console
Navigate to the log folder:
Once there run open up the file you would like to watch IE: the System.repository.txt file to see where the repository is during the startup with the following command:
get-content QLIKSERVER1_System_Repository.txt -wait
or you can use the shorter alias of
gc QLIKSERVER1_System_Repository.txt -wait
This will display the log file as it is being updated.
You can also use the command -tail to the end of so that it only loads the last updates on logs that have been running for awhile
gc QLIKSERVER1_System_Repository.txt -wait -tail 10
If the path you are attempting to view has spaces you can "Shift-Right click" on the folder and "Copy as path"
Then when you right click in PS, it will have " " around the path for you
There are other tools that can be used to view the files as they are updates such as
(Settings -> Preferences -> MISC -> Update silently)
We also have a tool available within the dropzone called mTail.
(this IP address is internal only to Qlik)