Link to home
Start Free TrialLog in
Avatar of colmisdiv
colmisdiv

asked on

W3SVC1 log file reduction

My C drive on my exchange drive is filling up. The biggest file is \\exchangesvr\c$\inetpub\logs\LogFiles\W3SVC1

I would like to know if there would be a problem moving the log files to my storage server to free the space.
ASKER CERTIFIED SOLUTION
Avatar of R--R
R--R
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Just delete older files, i use to delete files older than 7 days with a PS command and batch it every day once. Let me know, if you need that command.
Avatar of colmisdiv
colmisdiv

ASKER

Please send me the batch command. thanks.
I would suggest different. Reason is if for some troubleshooting you need these files you can always restore them.

1. Take weekly backup of that folder
2. Delete any file that is older than 2 days

- Rancy
So can you help understand your solution as deleteing IIS logs is never a good or recommended practise

- Rancy