I'm calling TraceUtilities.Configure(TraceUtilities.DETAILED_REQUEST_LOGS_SOURCE, logFile, SourceLevels.All); for logging my Google Ads API calls.
However, when calling TraceUtilities.Configure(TraceUtilities.DETAILED_REQUEST_LOGS_SOURCE, logFile, SourceLevels.All); a second time on the same file, a "System.IO.IOException" is thown with error message: *"The process cannot access the file 'C:\\Temp\\Detailed.log' because it is being used by another process."* How do I correctly close a log file once it has been opened? -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog: https://googleadsdeveloper.blogspot.com/ =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups "AdWords API and Google Ads API Forum" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] 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 "Google Ads API and AdWords API Forum" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion visit https://groups.google.com/d/msgid/adwords-api/8451239b-a297-4b32-a33d-cf2df5e6ef1en%40googlegroups.com.
