On Mon, Aug 6, 2012 at 11:51 AM, smartnut007
<
sinchron...@gmail.com> wrote:
> I was able to turn on logging and that was helpful. I get something like
> OAuthException #613 600 requests in 600 seconds exceeded.
>
> What would be helpful is also the http response code from facebook. I havent
> had time to look into the code. But, will do so if i have time and make that
> change.
Unfortunately this is not an easy one to make; the entire asynchronous
chain of futures is based on Later<JsonNode>. There is no convenient
in-band place to pass that extra bit of metadata.
Is this really important? What case do you need to distinguish via
http code that is different from the detected exceptions?
> I appreciate this library. But, minor things. There is only 2 open source
> libraries among 150 in our projects that is not on maven. Yours is one of
> them :-). have you considered making that jump ? I can help a bit if you
> need.
I loathe Maven. That said, I don't have any great objection to
creating a pom and pushing the project to maven central. For that
matter I'm overdue for converting the repository to git.
Would you like to revise the build system?
> Also, if you are not aware for slf4j users, integrating a library using jul
> is a huge performance penalty.
I use slf4j myself in most projects. However, I would rather not add
another jar dependency just for logging.
Since batchfb only logs requests and responses, the overhead of
logging should be dwarfed by the expense of issuing and processing the
request. If I'm wrong about that (I would be very surprised), we can
add the slf4j dependency.
Jeff