Hi Yasar,

Thanks for the response. I've enabled the logging in java using 
log4j-slf4j-impl. 
When I execute the java class I'm no longer getting the warnings saying 
that the logging libraries were not setup. However, it is not showing any 
log in console of a file. 

Is there any sample or detailed documentation that I can use to setup the 
log correctly when using the client libraries? 

This is an example of my call: 
java com.google.ads.googleads.examples.remarketing.AddCustomerMatchUserList 
-Dapi.googleads.maxLogMessageLength=-1 
-Dlog4j.configurationFile="C:\ELC\Social\Google_Ads_New_18\command\log4j2.xml" 



log4j2.xml - file below:

<!-- 
https://mvnrepository.com/artifact/org.apache.logging.log4j/log4j-slf4j-impl 
-->
<dependency>
    <groupId>org.apache.logging.log4j</groupId>
    <artifactId>log4j-slf4j-impl</artifactId>
    <version>2.17.2</version>
    <scope>test</scope>
</dependency>
    

Thanks,

Danilo



On Wednesday, May 11, 2022 at 3:13:05 AM UTC-4 adsapi wrote:

> Hi Danilo,
>
> Thanks for reaching out to the Google Ads API Forum.
>
> For us to investigate further on the observed behavior, could you provide 
> us with the complete *request* 
> <https://developers.google.com/google-ads/api/docs/concepts/field-service?hl=en#request>
>  
> and *response* 
> <https://developers.google.com/google-ads/api/docs/concepts/field-service?hl=en#response>
>  
> logs with the *request-id* 
> <https://developers.google.com/google-ads/api/docs/concepts/call-structure?hl=en#request-id>
>  
> generated for the uploads via *Reply privately to author *option?
>
> For the client library, logging can be enabled by navigating to the Client 
> libraries > Your client library (select Java) > Logging documentation, 
> which you can access from this *link* 
> <https://developers.google.com/google-ads/api/docs/client-libs>. 
>
> Regards,
> [image: Google Logo] 
> Yasar 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2arAUA:ref
>

-- 
THIS E-MAIL IS INTENDED ONLY FOR THE ADDRESSEE(S) AND MAY CONTAIN
CONFIDENTIAL INFORMATION.   IF YOU ARE NOT THE INTENDED
 RECIPIENT, YOU ARE 
HEREBY NOTIFIED THAT ANY USE OF THIS
 INFORMATION OR DISSEMINATION, 
DISTRIBUTION OR COPYING OF THIS
 E-MAIL IS STRICTLY PROHIBITED.  IF YOU 
HAVE RECEIVED THIS
 E-MAIL IN ERROR, PLEASE NOTIFY THE SENDER IMMEDIATELY 
BY RETURN
 E-MAIL AND DELETE THE ORIGINAL MESSAGE.
THANK YOU.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 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 
"Google Ads API and AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/2c557f63-c604-4a85-ada5-48d8b5e9c626n%40googlegroups.com.
  • A GoogleAds API C... 'Danilo Mozeli' via Google Ads API and AdWords API Forum
    • Re: A Google... 'Danilo Mozeli' via Google Ads API and AdWords API Forum
      • Re: A Go... 'Danilo Mozeli' via Google Ads API and AdWords API Forum
        • Re: ... 'Danilo Mozeli' via Google Ads API and AdWords API Forum

Reply via email to