How do I collect logs from IIS when requested by UiPath Support?
The IIS logs provide information about the use and state of the applications running on the web. On a standard Windows Server, the IIS log files are available by default at %SystemDrive%\inetpub\logs\LogFiles.
How to find the IIS log files?
- Go to Windows Start and run “inetmgr”. Alternatively, you can go to Administrative Tools and select Internet Information Services (IIS) Manager.
- Click on “Sites” on the left-hand tree menu. On the right of the screen the list of sites will be displayed. Take note of your site ID number, which is what IIS saves logs based on.
- Within the tree view or the grid view, double click on your site. Next, double-click the Logging icon for the logging settings screen to open.
- Go to the IIS log files location in the directory field. Inside this folder, there are subfolders for each site configured with IIS. The naming pattern for the folders the logs are in is W3SVC1, W3SVC2, etc. The number at the end of the folder name corresponds to the site ID mentioned in step No. 2. Thus, W3SVC2 corresponds to site ID 2
By default the logs are in W3C format. The W3C format is an extended log file and contains ASCII characters with sequences ending in LF or CRLF which can be opened and parsed with any text editor (Notepad, Notepad++, etc.).