Solved

Moving IIS Log Files to another Drive on Server 2012

Posted on 2014-09-24
13
823 Views
1 Endorsement
Last Modified: 2014-09-24
Hi

I have a exchange mail server that is running low on disk space. I would like to move the logfiles to D drive from the current C drive (%SystemDrive%\inetpub\logs\LogFiles).  Can I just change the setting and restart the IIS Admin?  Will it move the current log files? If not can I delete them too?

Regards

Yamin
1
Comment
Question by:yaminz66
  • 6
  • 5
  • 2
13 Comments
 
LVL 29

Accepted Solution

by:
becraig earned 167 total points
ID: 40341010
Here are some steps on doing this, also applicable in later versions of IIS no restart is needed, but you can safe run:
iisreset /noforce


http://exchangeserverpro.com/change-log-file-directory-iis7/
0
 
LVL 4

Assisted Solution

by:Vishalnarse
Vishalnarse earned 333 total points
ID: 40341029
0
 

Author Comment

by:yaminz66
ID: 40341039
Hi

thank you - both responses are great. I had a feeling this would be matter of simply pointing to a new drive, but wanted to be certain.

Yamin
0
 

Author Comment

by:yaminz66
ID: 40341042
Hi

I will do the move tonight, as users are on the system now.

Yamin
0
 
LVL 29

Expert Comment

by:becraig
ID: 40341043
Sounds great, happy to be able to help, you can change the logs at any point and then move them later.

There is no requirement for users to be offline in order to accommodate this.
0
 
LVL 4

Expert Comment

by:Vishalnarse
ID: 40341062
That great, I glade to help you, if you need any further assistance please me know.

Thank you.
0
Backup Your Microsoft Windows Server®

Backup all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

 

Author Comment

by:yaminz66
ID: 40341273
HI

The system went down again so I have been forced to change the directory to the new drive.

As for the old log files can I just move them or delete them

Regards

Yamin
0
 
LVL 4

Expert Comment

by:Vishalnarse
ID: 40341301
You can try and change the path.
0
 

Author Comment

by:yaminz66
ID: 40341305
Hi

Yes I have changed the path - but the old log files are still taking up space on the old drive. I am asking about those - can I delete them? I have moved them to the new drive in a different directory, as time was short.

Regards

Yamin
0
 
LVL 4

Expert Comment

by:Vishalnarse
ID: 40341307
Can you please share the screenshot path change and old path.
0
 

Author Comment

by:yaminz66
ID: 40341313
The old path was - c:\inteput\logs\logfiles\

New path is - D:\inteput\logs\logfiles\
0
 
LVL 4

Assisted Solution

by:Vishalnarse
Vishalnarse earned 333 total points
ID: 40341314
Yes you can delete with confirm that you have take the backup.
0
 
LVL 4

Expert Comment

by:Vishalnarse
ID: 40341318
If you need more help on this you can share remote via teamviewer 9.
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In my previous 24 VMware Articles (http://www.experts-exchange.com/ARTH_1864316.html?arthOrderBy=3&arthSort=1#arth), most featured Intermediate VMware Topics. My next series of articles concentrated on topics for the VMware Novice;   If you would…
The reason that corporations and businesses use Windows servers is because it supports custom modifications to adapt to the business and what it needs. Most individual users won’t need such powerful options. Here I’ll explain how you can enable Wind…
In this Micro Tutorial viewers will learn how to restore single file or folder from Bare Metal backup image of their system. Tutorial shows how to restore files and folders from system backup. Often it is not needed to restore entire system when onl…
This tutorial will walk an individual through the process of configuring basic necessities in order to use the 2010 version of Data Protection Manager. These include storage, agents, and protection jobs. Launch Data Protection Manager from the deskt…

919 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now