Logging HTTP requests and reponses

7 views
Skip to first unread message

Dana Kianfar

unread,
Apr 11, 2014, 6:01:19 AM4/11/14
to bat...@googlegroups.com
Hi,

Is it possible to log the activity behind BatchFB? I'm having a difficult time knowing whether my Jackson mappings are not working or if my access token isn't valid for the type of content I'm looking for. Being able to see the requests to facebook and the responses from fb would be really helpful.

Thanks
Dana

Jeff Schnitzer

unread,
Apr 11, 2014, 7:49:54 PM4/11/14
to bat...@googlegroups.com
BatchFB logs to java.util.logging, so you should be able to capture
the log output pretty easily. The specific logger name you are looking
for is probably com.googlecode.batchfb.util.RequestBuilder, but if you
just enable com.googlecode.batchfb you can strip it down from there.

Jeff
> --
> You received this message because you are subscribed to the Google Groups
> "BatchFB" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to batchfb+u...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

Dana Kianfar

unread,
Apr 12, 2014, 6:54:42 AM4/12/14
to bat...@googlegroups.com, je...@infohazard.org
Oh wonderful, thanks for letting me know. I was using log4j and so I guess that's why it didn't show.
Reply all
Reply to author
Forward
0 new messages