Solved

How do I reset Default Web Site to default logging after being set to ODBC System DSN?

Posted on 2010-11-23
3
373 Views
Last Modified: 2012-05-10
How do I reset Default Web Site to default logging after being set to ODBC System DSN?  Looking for a way of removing and or reset logging to defaults by using appcmd.exe or .Net by editing applicationhost.config file.  Whenever I change to use another System DSN or reset logging to default, does not work.  Leaves remnants of prior ODBC logging in applicationhosts.config file.  How do I reset website logging to defaults or rest in applicationhost.config file?
0
Comment
Question by:bcoturbo
  • 3
3 Comments
 
LVL 42

Expert Comment

by:sedgwick
ID: 34276940
how do u change it to ODBC System DSN?
0
 
LVL 42

Expert Comment

by:sedgwick
ID: 34276943
i meant to which logging the default web set is changed?
the default is W3C as far as i know...
0
 
LVL 42

Accepted Solution

by:
sedgwick earned 500 total points
ID: 34276948
to reset the logging to its default (W3C and daily scheduled) you can use the appcmd.exe:

appcmd.exe set config -section:system.applicationHost/log /centralLogFileMode:"CentralW3C" /commit:apphost

appcmd.exe set config -section:system.applicationHost/log /centralW3CLogFile.period:"Daily" /commit:apphost
0

Featured Post

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

Suggested Solutions

If you don't have the right permissions set for your WordPress location in IIS, you won't be able to perform automatic updates. Here's how to fix the problem.
A phishing scam that claims a recipient’s credit card details have been “suspended” is the latest trend in spoof emails.
In a recent question (https://www.experts-exchange.com/questions/28997919/Pagination-in-Adobe-Acrobat.html) here at Experts Exchange, a member asked how to add page numbers to a PDF file using Adobe Acrobat XI Pro. This short video Micro Tutorial sh…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

825 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