How to do it...

  1. Open Server Manager on Windows Server 2016. Click on the Tools menu and open IIS Manager.
  2. Click on the IIS server (WIN2016IIS); you will get the feature view. Find out the Logging setting, as shown in the following figure. You can configure it using Logging on your web server or website to record information about HTTP requests and errors. The information in your log can help you troubleshoot or optimize your website.
  1. Double-click on Logging. You will see in the next figure that Site is selected as the default log file type, and the Log File format is W3C, with a lot of fields as options.
  1. Logging configuration steps help ...

Get Microsoft IIS 10.0 Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.