Set the "use local time for file naming and rollover" to checked but still does not work RRS feed

  • Question

  • User1859464189 posted

    The server that IIS works in has 3 Hours difference with UTC time. I wanted IIS logs to be in server time, so I checked "use local time for file naming and rollover" but still the logs are 3 hours behind the server time. 

    What is the solution ? 

    Thursday, February 20, 2020 11:54 AM

All replies

  • User-2064283741 posted
    What you have checked is likely working as intended. You are changed the filename and when it rollsover.

    The contents of the log file itself you can't change if in normal W3C format as the standard for that is for GMT time. If you changed it to other formats I believe they will be in local system time.

    Thursday, February 20, 2020 1:45 PM
  • User1859464189 posted


    Currently it is in W3C format. Is there any way for me to have it in local time ? for example when I use logparser to view the logs, I want to see the recent logs, and not far behind the time server. 

    Thursday, February 20, 2020 2:35 PM
  • User-2064283741 posted

    LIke I say W3C is in GMT. That is what the standard is in.


    And it is what many webservers will use.

    If you waat to use another log format then you can and they can be in local time but W3C is by far the standard.

    IF you want to use logparser you can change the display format of the logs to offset the time.

    Like here:


    Thursday, February 20, 2020 3:29 PM