Hi Conor, I guess the documentation can be improved in that wiki. Here's the MSDN document that shows what the values should be. http://msdn.microsoft.com/en-us/library/system.diagnostics.tracelevel(v=vs.110).aspx
Let me know if it works, and open a bug at https://github.com/googleads/googleads-dotnet-lib/issues to improve the documentation. Cheers, Anash P. Oommen, AdWords API Advisor. On Friday, October 3, 2014 9:47:50 AM UTC-4, testa...@geeks.ltd.uk wrote: > > Hi Anash, > > Thanks for your message. > > I have put the following into my web.config but still don't get any logs. > > <system.diagnostics> > <trace autoflush="true"/> > <sources> > <source name="AdsClientLibs.SoapXmlLogs" > switchName="AdsClientLibs.SoapXmlLogs" > switchType="System.Diagnostics.SourceSwitch"> > <listeners> > <!--Modify the initializeData attribute below to control the > path to the SOAP XML log file.--> > <add name="soapXmlLogListener" > type="System.Diagnostics.TextWriterTraceListener" > initializeData="soap_xml.log" /> > <remove name="Default" /> > </listeners> > </source> > <source name="AdsClientLibs.RequestInfoLogs" > switchName="AdsClientLibs.RequestInfoLogs" > switchType="System.Diagnostics.SourceSwitch"> > <listeners> > <!--Modify the initializeData attribute below to control the > path to the request info log file.--> > <add name="requestInfoLogListener" > type="System.Diagnostics.TextWriterTraceListener" > initializeData="request_info.log" /> > <remove name="Default" /> > </listeners> > </source> > </sources> > <switches> > > <add name="AdsClientLibs.SoapXmlLogs" value="Information level"/> > > <add name="AdsClientLibs.RequestInfoLogs" value="Information level"/> > </switches> > </system.diagnostics> > > This is from the link you emailed to me a couple of days ago, except I > changed the two values of the switches from 'Off' to 'Information Level'. > > Do you have any other suggestions? > > Did you get the raw SOAP data I sent you earlier from another method of > logging? Was that any help? Have you had time to look at the other details > I sent you that you asked for? > > Thanks again for your help with all this. I really appreciate it. > > Best wishes, > Conor > > On Friday, 3 October 2014 14:32:41 UTC+1, Anash P. Oommen (AdWords API > Team) wrote: >> >> Hi Conor, >> >> Did you update <add name="AdsClientLibs.SoapXmlLogs" value="Off"/> to >> Information level? >> >> Thx, >> Anash >> >> On Friday, October 3, 2014 8:41:05 AM UTC-4, testa...@geeks.ltd.uk wrote: >>> >>> >>> Hi Alan, >>> >>> Thanks for your message. >>> >>> I'm using C# but can't see an option anywhere in the ad words user >>> object I'm using to log all. Do you know how it's accessed? Is that all I >>> need in this case? >>> >>> Thank you for your help. >>> >>> Best wishes, >>> Conor >>> >>> >>> On Friday, 3 October 2014 11:54:48 UTC+1, Alan Coleman wrote: >>>> >>>> Hello, >>>> >>>> This may not be the answer to your problem but when using PHP the log >>>> options can be set in the user object: >>>> >>>> $user = new AdWordsUser(); >>>> $user->LogAll(); >>>> >>>> So your config may be correctly set but your user object may not. >>>> >>>> Are you using .NET? If so VB or C# ? >>>> >>>> Thanks >>>> >>>> On Thursday, October 2, 2014 4:24:40 PM UTC+1, testa...@geeks.ltd.uk >>>> wrote: >>>>> >>>>> I am trying to use SOAP Logs with Google AdWords to troubleshoot >>>>> something. >>>>> >>>>> I am able to connect with the server from my local machine and make >>>>> changes via Visual Studio that will be immediately present in the UI, so, >>>>> in that sense at least, there is not a connection problem (though there >>>>> could be others that just aren't seen at the moment). >>>>> >>>>> I am using the instructions in Option 1 (ie, using the web.config) to >>>>> record the logs, and have copied and pasted the relevant code into my >>>>> web.config. I have manually created the relevant directories, as well as >>>>> the files. >>>>> https://github.com/googleads/googleads-dotnet-lib/wiki/How-to-capture-SOAP-messages >>>>> >>>>> Despite all of the above, no logs are produced. Is there something >>>>> else I should be doing? Is there a setting that I am not enabling / >>>>> disabling? >>>>> >>>>> Any help on this would be much appreciated. >>>>> >>>>> Thanks, >>>>> Conor >>>>> >>>> -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and Google+: https://googleadsdeveloper.blogspot.com/ https://plus.google.com/+GoogleAdsDevelopers/posts =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups "AdWords API Forum" group. To post to this group, send email to adwords-api@googlegroups.com To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en --- You received this message because you are subscribed to the Google Groups "AdWords API Forum" group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. Visit this group at http://groups.google.com/group/adwords-api. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/a32f18a3-f184-4fec-b061-b3b3b5582346%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.