Tailing the WebSphere Portal log files allows you to watch the logs in real-time as they roll. In Unix or Linux it can be done with the command tail -f System.out.log. There is no such command for Windows, but several tools are available which provide this functionality. The one I use is WinTail (WinTail.exe) from baremetalsoft.com.
Here’s how you can setup WinTail to watch your Portal log file.
Download WinTail.exe from the link given above. Put the executable in a permanent place where you’ll know where to find it because you may create shortcuts, which each point to a different log file. For example, you might make one point to the WebSphere Portal SystemOut.log file and you may make another which points to the debug trace file of a Web Experience Factory portlet that you’re working on. For example, I put WinTail.exe in my Program Files directory.
Next, create a shortcut and drag it to your desktop. Rename the shortcut to something logical like “Tail Portal Log”. Right-click on the shortcut and choose Properties from the context menu. In the target field of the Shortcut tab, place the path to your portal log file after the executable. For example:
“C:\Program Files (x86)\WinTail.exe” C:\IBM\WebSphere\wp_profile\logs\WebSphere_Portal\SystemOut.log
Now, when you double-click the shortcut, WinTail will open directly against your Portal log file and you can watch her as she rolls, as shown below.
You can also create additional shortcuts pointing to different log files.