Re: Not able to print the SOAP logs when using BatchJobService for Adwords Java API

2018-11-30 Thread 'Dhanya Sundararaju (AdWords API Team)' via AdWords API and Google Ads API Forum
Hi Shweta,

You can retry after replacing all INFO with DEBUG and see if you are able 
to get the logs. Please refer to this section 
 for better 
clarity and let me know if you have any further questions.

Regards,
Dhanya, AdWords API Team

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 
"AdWords API and Google Ads 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 https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/f00e0efc-c8ac-4572-981c-3feb662056c2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Not able to print the SOAP logs when using BatchJobService for Adwords Java API

2018-11-30 Thread shweta . sontakke . tc
Hi,

I am using BatchJobservice using Java API, I am not able to print the SOAP 
request and response logs. Here is my log4j.properties file:

log4j.category.com.google.api.ads.adwords.lib.client.AdWordsServiceClient.soapXmlLogger=INFO,
 
CONSOLE
log4j.category.com.google.api.ads.adwords.lib.client.AdWordsServiceClient.requestInfoLogger=INFO,
 
CONSOLE
log4j.category.com.google.api.ads.adwords.lib.utils.report_download=INFO, 
CONSOLE
log4j.category.com.google.api.ads.adwords.lib.utils.batch_job=INFO, CONSOLE

# Set the default logger for everything else to be no logs. This prevents 
all of
# the Axis libraries from complaining that no log is specified for them.
log4j.rootLogger=off

log4j.appender.CONSOLE=org.apache.log4j.ConsoleAppender
log4j.appender.CONSOLE.layout=org.apache.log4j.PatternLayout
# Configure the console logger to write to stderr since examples write
# important messages to stdout.
log4j.appender.CONSOLE.Target=System.out
log4j.appender.CONSOLE.Threshold=INFO
log4j.appender.CONSOLE.layout.ConversionPattern=[%d{DATE}-%c{1}:%p:%t] %m%n

Please let me know if I need to do any additional settings in order to 
print the SOAP logs.

Regards,
Shweta

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 
"AdWords API and Google Ads 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 https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/93c0e326-989b-419d-b6cd-aa58fef8aede%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.