How to Change IIS7 Logfile NAME

Does anyone know if there is a way to change the logfile name for IIS7 running on Windows Server 2008 R2 (x64)?

The current filename is u_ex_DDDDDD.log where DDDDDD is the 2-digit year, 2-digit month and 2-digit day of the month.  What I want is a 4 digit year.
AlexButteryAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
TeethingCommented:
0
 
AlexButteryAuthor Commented:
I already found that I could create a custom logging module but this goes far beyond what I want to do.  I just want to change the default name of the logfile so it has a 4-digit year in the filename.  The contents are acceptable.
0
Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

 
AlexButteryAuthor Commented:
The Advanced Logging appears to provide what I need.  I need to work with it some more in order to verify that I can build the logging I want with it.  Right now, it does not appear to want to let me do what I need to do.
0
 
TeethingCommented:
IIS is pretty rigid to make it interoperable with 3rd party reporting packages.  When you want to modify system defaults, it often requires a lot of work .

Why do you need the log names changed?  Is it worth the time and dev cost to do so ?  Will it break any other software dependencies you utilize the IIS logs?
0
 
AlexButteryAuthor Commented:
I don't absolutely NEED the logs to have the long date (4-digit year) in the filename but if there is a fairly straight forward way to get this that does not require a log of additional work it would be helpful.  This is a new server that currently is not linked to any other processes so now is the time to determine if this is feasible and worth the effort.  Spending 3-4 hours now could save me time later when there are issues.
What you have provided so far is what I believe I need.  Thank you.
0
 
AlexButteryAuthor Commented:
I've never configured IIS 7.5 so this is going to be challenging.  But I believe this is an appropriate solution for my needs.
0
 
TeethingCommented:
Glad to help.  If you need to have the log files dated by 4 digit year for legal archiving purposes, you could always use robocopy to move the old logfiles into named directorys without changing their modified date.
0
 
AlexButteryAuthor Commented:
The Advanced Logging does exactly what I needed it to do. I specify a Prefix and the Feature adds 8 digit date and time to the filename.
0
All Courses

From novice to tech pro — start learning today.