Atlantic.Net Blog

How to Configure Logging in IIS Windows Server 2012

Jose Velazquez
by Atlantic.Net (71posts) under Cloud Hosting
Verified and Tested 08/11/2015


In this How-To, we will walk you through to Configure Logging in IIS Windows Server 2012.

This feature is set up to store data HTTP request and errors from your website(s) and of your Web Server. Configuring this feature will make your site troubleshooting much easier because you will have logs that serve as a starting point.


– A Server with Windows Server 2012. If you do not have a server already, why not spin up a Windows Cloud server from Atlantic.Net in under 30 seconds.

– Internet Information Services(IIS) installed on your server. If you need to install IIS, follow our guide Install IIS On Windows Server 2012 R2.

Configure Logging in IIS

Initially, you want to access the IIS Manager to configure “Logging” on Windows Server 2012 following the following path:

Open the Server Manager / Select Local Server/Under “All Servers” select “IIS”/ Right Click on your server and select the “Internet Information Services (IIS) Manager” option.

Select IIS Manager in your Server Manager Dashboard

Select IIS Manager in your Server Manager Dashboard


You will now be taken to the Internet Information Services (IIS) Manager” where you will see a  Connections panel to the left side of your screen.  There is a folder named “Sites” with a drop down arrow, and you can view all your sites that are available. Select your site and select the “Logging” option from the sites Home options.

Select Logging in the IIS Manager page

Select Logging in the IIS Manager page

Logging Page

You will be taken to the-the Logging page to configure some settings. Under Log file/ Format. Select one of the following log formats:

  • IIS – uses the Microsoft IIS log file format.
  • NCSA – uses the National Center for Supercomputing Applications common log file format.
  • W3C – uses the centralized W3C log file format.
  • Custom – use a customer logging module/file format.

Directory Section

Specify the location where the log file will be stored in the Directory section.  It should be set to the default path shown below.

Configure Logging in IIS Windows Server 2012Note: It is recommended that all the log files that will be stored on your system be stored in any directory except the systemroot directory.

Log File Rollover Section

Additionally, there is a “Log File Rollover” section. This is where you can select a schedule and how the new files are created selecting one of the following options:

  • Hourly
  • Daily
  • Weekly
  • Monthly
  • Maximum file size (in bytes)
  • Do not create a new log file

Further more, its recommended that you select “Use local time for file naming and rollover” to achieve a more accurate log reading based on your current server’s time stamp. If you do not select the “Use local time for file naming and rollover” option, the system will use the Coordinated Universal Time (UTC) to archive the file. You will then have to convert the UTC format to your local format when its time to review the logs.

You will then finalize your configuration by saving all your information by clicking “Apply” in the “Actions panel.

Applying your settings in the Actions Panel

Applying your settings in the Actions Panel


Congratulations! You have just Configured Logging in IIS Windows Server 2012. Thank you for reading! Be sure to check back for more updates, and to learn more about our cloud hosting solutions.

Get started with 12 months of free cloud services

Free Tier includes:
G2.1GB Cloud Server Free to Use for One Year
50 GB of Block Storage Free to Use for One Year

New York, NY

100 Delawanna Ave, Suite 1

Clifton, NJ 07014

United States

San Francisco, CA

2820 Northwestern Pkwy,

Santa Clara, CA 95051

United States

Dallas, TX

2323 Bryan Street,

Dallas, Texas 75201

United States

Ashburn, VA

1807 Michael Faraday Ct,

Reston, VA 20190

United States

Orlando, FL

440 W Kennedy Blvd, Suite 3

Orlando, FL 32810

United States

Toronto, Canada

20 Pullman Ct, Scarborough,

Ontario M1X 1E4


London, UK

14 Liverpool Road, Slough,

Berkshire SL1 4QZ

United Kingdom


We use cookies for advertising, social media and analytics purposes. Read about how we use cookies in our updated Privacy Policy. If you continue to use this site, you consent to our use of cookies and our Privacy Policy.