none
How do you turn off WCF auditing on a server?

    Question

  • A while ago I turned WCF auditing on a Windows 2003 Server.  I thought I did that by running SvcConfigEditor.exe from the C:\Program Files (x86)\Microsoft SDKs\Windows\V6.0\bin folder.  I must be mistaken, because I can't find it.  I've checked under the C:\Program Files folder structure, and it's not there, either.  Is it just an issue of editing the Web.Config file with Notepad?
    Rod
    Wednesday, September 28, 2011 3:29 PM

Answers

  • Just look for below section, Comment it out or make everything to false

    <diagnostics>
                  <messageLogging logEntireMessage="false" logKnownPii="false"
                        logMalformedMessages="false" logMessagesAtServiceLevel="false"
                        logMessagesAtTransportLevel="false" />
            </diagnostics>


    Lingaraj Mishra

    • Edited by Lingaraj Mishra Thursday, September 29, 2011 12:45 PM
    • Marked as answer by Rod at Work Thursday, September 29, 2011 2:58 PM
    Thursday, September 29, 2011 12:41 PM
  • Hi Rod,

    I haven't used that tool before.  But yes, you could just go into the Web.Config from notepad and change the <serviceSecurityAudit> section.  Comment it out, or I think you could just set serviceAuthorizationAuditLevel and messageAuthenticationAuditLevel = "None".

     


    Tom Overton
    • Marked as answer by Rod at Work Thursday, September 29, 2011 2:58 PM
    Wednesday, September 28, 2011 3:41 PM

All replies

  • Hi Rod,

    I haven't used that tool before.  But yes, you could just go into the Web.Config from notepad and change the <serviceSecurityAudit> section.  Comment it out, or I think you could just set serviceAuthorizationAuditLevel and messageAuthenticationAuditLevel = "None".

     


    Tom Overton
    • Marked as answer by Rod at Work Thursday, September 29, 2011 2:58 PM
    Wednesday, September 28, 2011 3:41 PM
  • Just look for below section, Comment it out or make everything to false

    <diagnostics>
                  <messageLogging logEntireMessage="false" logKnownPii="false"
                        logMalformedMessages="false" logMessagesAtServiceLevel="false"
                        logMessagesAtTransportLevel="false" />
            </diagnostics>


    Lingaraj Mishra

    • Edited by Lingaraj Mishra Thursday, September 29, 2011 12:45 PM
    • Marked as answer by Rod at Work Thursday, September 29, 2011 2:58 PM
    Thursday, September 29, 2011 12:41 PM