Log files can be viewed, searched and even downloaded. This topic discusses how.
To view and logs
1. Click a log file from the table. The selection is highlighted by a blue background bar. The View button and Download buttons are enabled.
Note: Click the file again to deselect it. The View and Download buttons are disabled.
2. Click the View button. The contents of the log file are displayed in a new window as shown below.
Functions of the window displaying the log file
To use Regular Expression (Regex) type search functionality
1. Type a Regular Expression (Regex) in the Search box located on the top of this window to search all text containing that pattern.
Note: Instead of typing you can even click one or more words from the displayed text and they are input into the Search box and marked in the pages as well. Notice in the image below how the word "google" has been searched and marked.
2. Now to also search for Mozilla while still displaying google search results click the word "Mozilla" anywhere on this page. The result is as follows.
3. Click Prev and Next
buttons to browse all pages of the log file with lines marked with the texts "google" and "Mozilla/5.0". Alternatively you can click the page numbers located at the bottom of the screen.
To download a log file
When a log file is selected, simultaneously the Download button also displays the size of this log file.
1. Click the Download button to download the file. Follow your Internet browser's message to download the file onto your computer.
Note: If the file is large, for example over 250 MB then it may take up to 30 minutes to download. In that case when you click the Download button the system sends you an e-mail link. Clicking this link will enable downloading of the file that can be done in a separate window of your browser while you can continue your work on OTUS uninterrupted. The file size limit of the file that can be downloaded before it is sent for download via the e-mail link is determined by the variable WEB_EXPORT_ASYNC_SIZE variable. You can check this variable under Configuration -> Settings.