IIS not creating a log file

I am running windows server 2016, it's a new install. I'm testing some of the websites, and when I browse to the website, and click on some of the links, when I go to my logs on my IIS server, no log exists.  This is the case for all our sites.  Here's what I did so far:
1. For testing, I have updated my local hosts file to point to the new server for all the different sites
2. When I ping a website, the ping reply is correct, it's the IP on the new server for the SSL cert
3. Traceroute is the same, it comes back with the IP of the new server
4. I did a iisreset, stil nothing.
5. I double checked and logging is enabled per website
6. I checked our old web server and it I saw my traffic there, so not sure how it's still going to the old site?

How can I figure out why my browsing the website goes to the old server when it's supposed ot go to the new server based on my hosts file.
DanNetwork EngineerAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

You missed either the step or you are looking for the log in the wrong place.

Newer log in c:\inetpub\logs..

See the following, https://technet.microsoft.com/en-us/library/hh831775(v=ws.11).aspx

Confirm you not only enable logging on the iis role, but actually configure the log when you select the site, look at logs and their location..

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial

see what happens if you change the default log location to a different folder and check for log creation there.

DanNetwork EngineerAuthor Commented:
Thanks guys, got it fixed.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows Server 2016

From novice to tech pro — start learning today.