Can't able to view my Request Response using Log4j

43 views
Skip to first unread message

sanketta...@gmail.com

unread,
Oct 12, 2020, 5:51:52 AM10/12/20
to AdWords API and Google Ads API Forum
Hi,

I'm trying to see set Log4j logging to track all my request response which I sent and received with Google Ads API but I'm unable to do so. I tried setting up loggers at almost all levels but still failed to set logs. 

I have set

log4j.rootLogger=INFO, file, stdout, SOAP_LOG, REQUEST_LOG, REPORT_LOG, BATCH_JOB_LOG

but still can't see the Google Ads API request and response.
Please help me in this.

Thanks,
Sanket Tandalekar

Google Ads API Forum Advisor Prod

unread,
Oct 12, 2020, 11:01:21 PM10/12/20
to sanketta...@gmail.com, adwor...@googlegroups.com
Hi Sanket,

Thank you for your email.

Could you confirm which client library it is you are using? If you are using Java, you can refer to this guide on how to enable logging.

Best regards,

Google Logo
Peter Laurence Napa Oliquino
Google Ads API Team
 


ref:_00D1U1174p._5004Q268WPl:ref

sanketta...@gmail.com

unread,
Oct 14, 2020, 12:48:49 AM10/14/20
to AdWords API and Google Ads API Forum
Hi,

I followed the steps and options given in the shared link but the only logs that are getting printed are the ones that I set on the script and not the Google Ads API request and response which is base or Core library. I want to display those logs too.

Are there any settings that need to be done which I'm missing?

Thanks,
Sanket Tandalekar

Google Ads API Forum Advisor Prod

unread,
Oct 14, 2020, 11:38:01 PM10/14/20
to sanketta...@gmail.com, adwor...@googlegroups.com
Hi Sanket,

Since your concern is related to enabling logging in the client library, you may reach out to the Java client library owners for further assistance. You can contact them via this Github link.

If you are using a different client library, let me know which language so I can provide the appropriate link.
Reply all
Reply to author
Forward
0 new messages