Reply to topic
IIS6.0 Logs
Jason101
Forum Regular

Joined: 14 Mar 2006
Posts: 538
Location: Harrisburg, PA
Reply with quote
Does anyone know how to change the naming schema of the Log files in IIS 6? I know I can change the directory from say C:\Windows\System32 to E:\IISLogs, but it still creates a unique folder like

E:\IISLogs\W3SVC1290268629\

Can I make it say like

E:\IISLogs\example.com_Logs\

I just want a way to easily identity the logs for backup and transfering purposes. I know it could be done becuase HMS puts your log files in he "Logs" folder on the root of your website.

Question
Re: IIS6.0 Logs
KiltedMan


Joined: 20 Jan 2005
Posts: 89
Location: The Small Wonder
Reply with quote
Jason101 wrote:
Can I make it say like

E:\IISLogs\example.com_Logs\


Yes, and you're probably going to kick yourself. Simply type the log folder path you want in the appropriate field (which it seems you've found) in IIS. You could name your log folder e:\IISLogs\LeftElbow\ if you chose. Very Happy

Let us know how that works out!
Re: IIS6.0 Logs
Jason101
Forum Regular

Joined: 14 Mar 2006
Posts: 538
Location: Harrisburg, PA
Reply with quote
KiltedMan wrote:
Yes, and you're probably going to kick yourself. Simply type the log folder path you want in the appropriate field (which it seems you've found) in IIS. You could name your log folder e:\IISLogs\LeftElbow\ if you chose. Very Happy

Let us know how that works out!


OK, So I tried that this morning and it still creates that random directory under it:

I set the log path to: E:\IISLogs\Domain\

Then it created a new directory under that:

E:\IISLogs\Domain\W3SVC1290268629

That weird directory name it creates is what I don't want.

One would say why is it a big deal? Because I want to be able to back up my logs and know what site they go with-- W3SVC1290268629 doesn't tell me what site it goes with as easy as domain.com_logs would.
dmalone
HostMySite Tech

Joined: 23 Nov 2004
Posts: 64
Reply with quote
Hi there,

I did some looking around and all I found was an older link on iisfaq.com about this:

http://www.iisfaq.com/Default.aspx?tabid=2777


I didn't see any info on there as to what version of IIS that is in reference to.

I have a feeling that the script they give there is only going to set the root folder, like what you did earlier. I found several posts that said this could not be done. Please let us know if it works!!
IIS6.0 Logs
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT  
Page 1 of 1  

  
  
 Reply to topic