Hi Christian,

I'm not a PHP expert, but looking through Logger.php 
<https://github.com/googleads/googleads-php-lib/blob/master/src/Google/Api/Ads/Common/Util/Logger.php>
 
and AdWordsUser.php 
<https://github.com/googleads/googleads-php-lib/blob/master/src/Google/Api/Ads/AdWords/Lib/AdWordsUser.php>,
 
I don't see a way to *remove* a log destination, since Logger.LogTo 
<https://github.com/googleads/googleads-php-lib/blob/master/src/Google/Api/Ads/Common/Util/Logger.php#L142>
 always 
*appends* the specified logger.

However, you can configure the log *directory* globally in your settings.ini 
file 
<https://github.com/googleads/googleads-php-lib/blob/master/src/Google/Api/Ads/AdWords/settings.ini#L5>
.

Hope that helps,

Josh, AdWords API Team

On Friday, February 13, 2015 at 10:06:56 AM UTC-5, abc def wrote:
>
> Hi,
>
> i am using the adwords API PHP Library v201406 (i know there is a newer 
> version) and i implement the following lines to log every api request in a 
> new file:
>
> $user->LogAll()
> [...]
> \Logger::LogToFile(\Logger::$SOAP_XML_LOG, 'filename.log');
>
> This works fine, but there is the standard logging file soap_xml.log, too.
> I would like to disable the standard logging file. How to do?
>
> Greetings from Germany,
> Christian
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 [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 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
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/9dc0490b-edff-4682-bda9-5dd00ce5c472%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to